mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
parent
16c3791dd9
commit
fe8743a067
1 changed files with 12 additions and 0 deletions
12
pages/common/go-doc.md
Normal file
12
pages/common/go-doc.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue