Skip to content

Instantly share code, notes, and snippets.

@slok
Last active August 29, 2016 15:46
Show Gist options
  • Save slok/6583dd943be76e1469dd05053a88dcbf to your computer and use it in GitHub Desktop.
Save slok/6583dd943be76e1469dd05053a88dcbf to your computer and use it in GitHub Desktop.
gvm flow
gvm install go1.6.2
gvm use go1.6.2 --default
gvm pkgset create slok
gvm pkgenv slok
# Add this lines
export GOPATH; GOPATH="/home/slok/projects/work/go:/home/slok/projects/personal/go:$GOPATH"
export PATH; PATH="/home/slok/projects/work/go/bin:/home/slok/projects/personal/go/bin:$PATH"
gvm pkgset use slok --default
# make shell
# glide install
# cd { go project} && atom .
Note: If you are updating Go version and you continue sharing part of the GOPATH, You need to delete gocode from your workspace and let ATOM download and compile again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment