Skip to content

Instantly share code, notes, and snippets.

@LarryBattle
Created April 12, 2013 16:22
Show Gist options
  • Save LarryBattle/5373234 to your computer and use it in GitHub Desktop.
Save LarryBattle/5373234 to your computer and use it in GitHub Desktop.
Golang: Find the version of Go during runtime.
package main
import "fmt"
import "runtime"
func main() {
fmt.Printf("Google Go version : %s", runtime.Version() )
}
@LarryBattle
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment