go version
Print Go version. More information: https://golang.org/cmd/go/#hdr-Print_Go_version.
-
Print Go version:
go version
-
Print the Go version used to build the named executable file:
go version {{path/to/executable}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.