Skip to content

Instantly share code, notes, and snippets.

@alexniver
Last active February 20, 2018 20:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexniver/02b32a163db02717437a to your computer and use it in GitHub Desktop.
Save alexniver/02b32a163db02717437a to your computer and use it in GitHub Desktop.
using gvm

install

bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)

using golang version 1.5.1, golang 1.5+ need 1.4 environment

gvm install go1.4
gvm use go1.4
gvm install go1.5.1
gvm use go1.5.1

prepare a workspace, such as project1

gvm pkgset create project1
gvm pkgset use project1

###some go get

prepare another workspace, such as project2

gvm pkgset create project2
gvm pkgset use project2

###some other go get

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