1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

generics, vweb, comptime codegen, etc

This commit is contained in:
Alexander Medvednikov
2019-07-29 18:21:36 +02:00
parent f1373874ef
commit 207bab5f79
20 changed files with 982 additions and 442 deletions

View File

@ -189,11 +189,11 @@ pub fn (req &Request) do() Response {
}
}
fn unescape(s string) string {
pub fn unescape(s string) string {
return string(byteptr(C.curl_unescape(s.str, s.len)))
}
fn escape(s string) string {
pub fn escape(s string) string {
return string(byteptr(C.curl_escape(s.str, s.len)))
}