Top "Go" questions

Go is an open-source programming language.

Is there a way to do repetitive tasks at intervals?

Is there a way to do repetitive background tasks in Go? I'm thinking of something like Timer.schedule(task, delay, …

go
Iterating through a golang map

I have a map of type: map[string]interface{} And finally, I get to create something like (after deserializing from …

map go loops
Install go with brew, and running the gotour

I was following the http://tour.golang.org/ untill I got to the third step about that tells you that …

macos installation go homebrew
Type converting slices of interfaces

I'm curious why Go does't implicitly convert []T to []interface{} when it will implicitly convert T to interface{}. Is there …

go go-reflect go-interface
How to get the number of Characters in a String?

How can I get the number of characters of a string in Go? For example, if I have a string "…

string go character string-length
MINGW64 "make build" error: "bash: make: command not found"

I am working on Windows 10. I want to run a "make build" in MINGW64 but following error comes up: $ make …

bash go makefile mingw glide-golang
Golang converting string to int64

I want to convert a string to an int64. What I find from the strconv package is the Atoi function. …

string go int64
Runtime error: assignment to entry in nil map

I am trying to generate a map and then convert that to a yaml file like this: uid : kasi: cn: …

map go yaml
How to set timeout for http.Get() requests in Golang?

I'm making a URL fetcher in Go and have a list of URLs to fetch. I send http.Get() requests …

http get timeout go
Reading an integer from standard input

How do I use the fmt.Scanf function in Go to get an integer input from the standard input? If …

go stdin