mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-09 18:58:01 +00:00
Update cheatsheets
This commit is contained in:
17
go-version
Normal file
17
go-version
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user