Aug 10, 2019
2 min read
Ready to learn Go?
Start exploring Go by writing tests with
Learn Go with Tests.
Above all, I'd recommend the
The Go Programming Language book.
It was published in 2015, but thanks to the stability of the Go language,
this is still the best book for picking up Go.
Read and do
Golang news and updates
Podcasts and video series
eval "$(gimme 1.12.7)"
- Versions of Go
- Use gimme for easy version switching:
brew install gimme; eval "$(gimme 1.12.7)"
- Add the code above to your shell init script: ~/.bash_profile, ~/.profile, etc
- Use Go modules (read this wiki)
- You can either:
- A: git clone the code outside your GOPATH (ie, next to your other code) to use go modules automatically (recommended)
- B: set
GO111MODULE=on and keep your Go code in your GOPATH
And finally… the Go Gopher!