go/doc

View Documentation

View Go package documentation

go
doc
documentation

Command

go doc fmt.Println

Explanation

View documentation for Go packages, functions, and types directly from the command line.

Examples

View function documentation

go doc fmt.Println

View package documentation

go doc fmt

Start documentation server

godoc -http=:6060