go-version: add page (#4003)
Signed-off-by: gonejack <igonejack@gmail.com>
This commit is contained in:
12
pages/common/go-version.md
Normal file
12
pages/common/go-version.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# go version
|
||||||
|
|
||||||
|
> Print Go version.
|
||||||
|
> More information: <https://golang.org/cmd/go/>.
|
||||||
|
|
||||||
|
- Print version:
|
||||||
|
|
||||||
|
`go version`
|
||||||
|
|
||||||
|
- Report the Go version used to build the named executable file:
|
||||||
|
|
||||||
|
`go version {{executable}}`
|
Reference in New Issue
Block a user