tldr/pages/common/go-version.md

13 lines
246 B
Markdown
Raw Normal View History

# go version
> Display Go version.
> More information: <https://golang.org/cmd/go/#hdr-Print_Go_version>.
- Display version:
`go version`
- Display the Go version used to build a specific executable file:
`go version {{path/to/executable}}`