more examples
This commit is contained in:
parent
c5a843ea39
commit
9003149114
19 changed files with 287 additions and 0 deletions
8
examples/network.ang
Normal file
8
examples/network.ang
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
func get(url: string) string {
|
||||
res := request("GET", url, "")
|
||||
|
||||
return res.text
|
||||
}
|
||||
|
||||
write(get("https://www.neemek.com/hello.txt"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue