Last active
August 29, 2016 15:46
-
-
Save slok/6583dd943be76e1469dd05053a88dcbf to your computer and use it in GitHub Desktop.
gvm flow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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