Skip to content

Integers

  • can add documentation to function with comments immediately above them
  • appear in Go Doc, and in intellisense
  • go examples can be defined similar like tests, and reside in the test files
  • examples can be ran as tests
  • examples show up in the Go Docs
  • go get to download packages
  • go install to install the packages to go path
  • golang.org/x/tools/cmd/godoc go package to give GoDoc
  • godoc -http=:6060 serve go docs in http://localhost:6060/pkg/