Command
go doc fmt.PrintlnExplanation
View documentation for Go packages, functions, and types directly from the command line.
Examples
View function documentation
go doc fmt.PrintlnView package documentation
go doc fmtStart documentation server
godoc -http=:6060