
committed by
Starbeamrainbowlabs

parent
16c3791dd9
commit
fe8743a067
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}}`
|
Reference in New Issue
Block a user