Files
cheatsheet-tldr/tldr/go-version

18 lines
339 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`