go-doc

Show documentation for a package or symbol.

TLDR

Show documentation for the current package

>_ go doc
copy

Show package documentation and exported symbols

>_ go doc [encoding/json]
copy

Show also documentation of symbols

>_ go doc -all [encoding/json]
copy

Show also sources

>_ go doc -all -src [encoding/json]
copy

Show a specific symbol

>_ go doc -all -src [encoding/json.Number]
copy

Copied to clipboard
free 100$ digital ocean credit