Golang Community Moderator. Software Engineer - Open Source Enthusiast. Goper Lover
Follow the Go Language Community to stay up to date with latest tutorials and find answers, support from other users. Its not same without you!
Write your answer...
How can I correctly compare two arrays in Go? For instance, how can I compare two dimensional arrays with int entries, or any other types? How deep is that comparison?
Asked • Jan 28 2020
Is there any simpler/nicer way of getting a slice of keys from a map in Go? Currently I am iterating over the map and copying the keys to a slice:
I've tried to find a precise explanation of what the init() function does in Go. I read what Effective Go says but I was unsure if I understood fully what it said. The exact sentence I am unsure i
Asked • Jan 22 2020