mirror of https://github.com/CrimsonTome/tldr.git
13 lines
280 B
Markdown
13 lines
280 B
Markdown
|
# go doc
|
||
|
|
||
|
> Tool for showing documentation for package or symbol.
|
||
|
> More information: <https://golang.org/cmd/go/>.
|
||
|
|
||
|
- Show documentation for {{Foo}} in the current package:
|
||
|
|
||
|
`go doc {{Foo}}`
|
||
|
|
||
|
- Show documentation and method summary for {{json.Number}}:
|
||
|
|
||
|
`go doc {{json.Number}}`
|