Skip to content
/ g Public

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

License

Notifications You must be signed in to change notification settings

alwqx/g

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages