Golang documentation

From wikinotes

Documentation

standard library https://pkg.go.dev/std

go doc

Quickly refer to api docs on CLI

# list module docs/sigs (stdlib, internal)
go doc internal/logger
go doc io | bat -l go   # nicely syntax highlighted

godoc

Show website with apidocs -- standard library, used go modules, and your own package.

go install golang.org/x/tools/cmd/godoc@latest
godoc
open 'http://localhost:6060'