g: Interactively Manage Your Golang Versions. Inspired by GitHub-tj/n
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
LICENSE
README.md
demo.gif

README.md

g

g: Interactively Manage Your Golang Versions. Inspired by GitHub-tj/n

Demo

Usage

  • 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

Reference