/go_learn

Links to resources for learning Go

Go learn

Resources

Watch

Read / Do

Cheatsheets

Practice

Podcasts / Video series

Tooling

Linting

Development

  • Versions of Go
    • Use gimme for easy version switching: brew install gimme; eval "$(gimme 1.12.7)"
    • Add this to your shell init script (~/.bash_profile, ~/.profile, etc)
export GOPATH=~/go
export PATH="$GOPATH/bin:$PATH"
eval "$(gimme 1.12.7)"
  • 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

IDE Tools