godoc
View documentation for go packages. tldr-pages
On several platforms
Several platforms
Display help for a specific package
godoc fmtIdentifyDisplay help for the function "Printf" of "fmt" package
godoc fmt PrintfIdentifyServe documentation as a web server on port 6060
godoc -http=:6060IdentifyCreate an index file
godoc -write_index -index_files=path/to/fileIdentifyUse the given index file to search the docs
godoc -http=:6060 -index -index_files=path/to/fileIdentify