for i :=1 ; i<100 ; i++ { switch i { case i%3 == 0 && i%5==0:fmt.Println("FizzBuzz") case i%3 == 0:fmt.Println("Fizz") case i%5 == 0:fmt.Println("Buzz") default: fmt...
hey guys. I live in iran and all the GOlangs web pages like go playground are forbidden for us and response 403. does it mean google servers banned the requests that came fro...
hey there . https://play.golang.org/p/PbG8OWCBgt1 in this code snippet i created a slice and function that take the slice as parameter . it takes the value not pointer and i ...
het guys https://paste.ubuntu.ir/tgbh would you please take a look at this code and tell me why recursive solution is faster than iteration? or what is the problem od my code...
hey guys . is there any kind of library in go in order to create telegram bot ?
hey guys . i'm totally confused with "modules" and how golang manages dependencies . I have a little python background . I have read a lot of articles about it but nothing...
what does exactly swich case do in GO ? are thye just check for the value of the variable and then do something base on the result ? so what the problem is with my code ?