- Cheat Sheet: https://github.com/a8m/go-lang-cheat-sheet
- Language spec: https://golang.org/ref/spec
- Effective Go: http://golang.org/doc/effective_go.html
- Code Generation: http://blog.golang.org/generate
https://github.com/tools/godep
# install
go get github.com/tools/godep
# save package dependencies
go dep save
# install package dependencies
go dep restore
http://godoc.org/golang.org/x/tools/cmd/godoc
- testing: http://golang.org/pkg/testing/
- testify: https://godoc.org/github.com/stretchr/testify
- gomock: https://godoc.org/code.google.com/p/gomock/gomock
- A broad overview of testing techniques for go: http://blog.codeship.com/testing-in-go/
- Dependency injection via interfaces: http://relistan.com/writing-testable-apps-in-go/
- Dependency injection via fisrt-class functions: http://openmymind.net/Dependency-Injection-In-Go/
- Creating fakes in go with channels: http://blog.codeship.com/creating-fakes-in-go-with-channels/