g
: Interactively Manage Your Golang Versions. Inspired by GitHub-tj/n
- clone repo
git clone https://github.com/adolphlwq/g.git
- help info
cd g
geek@localhost:$ bin/g -h
Usage: g [options] [COMMAND] [args]
Commands:
g Output help information
g ls Output all Golang versions
g use Use specific version
g rm Remove the given version
g info Display installed golang package information
Options:
-h, --help Display help information
- use go version
bin/g use
- see current state
geek@localhost:$ bin/g info
qGo version:
0.0.1
Golang version in used:
go1.7.2
Base directory:
/usr/local/golang
Download direstory:
/usr/local/golang/versions
Downloaded packages:
-go1.7.3
-go1.7.2