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

help: remove http doc server options (#8839)

This commit is contained in:
Lukas Neubert
2021-02-21 15:18:50 +01:00
committed by GitHub
parent 95e5f68b64
commit cfe9f6d5d3
2 changed files with 0 additions and 16 deletions

View File

@ -8,19 +8,6 @@ fn slug(title string) string {
return title.replace(' ', '-')
}
[inline]
fn open_url(url string) {
$if windows {
os.system('start $url')
}
$if macos {
os.system('open $url')
}
$if linux {
os.system('xdg-open $url')
}
}
fn escape(str string) string {
return str.replace_each(['"', '\\"', '\r\n', '\\n', '\n', '\\n', '\t', '\\t'])
}