godoc

godoc

TLDR

Display help for package "fmt"

$ godoc [fmt]
copy

Display help for the function "Printf" of "fmt" package

$ godoc [fmt] [Printf]
copy

Serve documentation as a web server on port 6060

$ godoc -http=:[6060]
copy

Create an index file

$ godoc -write_index -index_files=[path/to/file]
copy

Use the given index file to search the docs

$ godoc -http=:[6060] -index -index_files=[path/to/file]
copy

Copied to clipboard
Dodo Farming