Learn go with tests link Running tests Run tests go test Run benchmarks go test -bench=. Godoc Install go doc util go install golang.org/x/tools/cmd/godoc@latest Run it godoc -http=:6060 Check documentation and examples in this url