A simple virtualenv for Go
github.com
A simple virtualenv for Go
1–10 of 36 posts
Re: A simple virtualenv for Go
#2 mkdir -p pkg bin src
export GOPATH="`pwd`"
export PATH="$GOPATH/bin:$PATH"
Only what I typed there is shorter and safer than the committed code.That's... simple, yes.
Re: A simple virtualenv for Go
#3Re: A simple virtualenv for Go
#4Re: A simple virtualenv for Go
#5I was interested when I saw the project name, but this appears to be: mkdir -p pkg bin src export GOPATH="`pwd`" export PATH="$GOPATH/bin:$PATH" Only what I typed there is shorter and safer than the committed code. That's... simple, yes. https://github.com/ChuckHa/goenv/blob/master/goenv
Re: A simple virtualenv for Go
#6Re: A simple virtualenv for Go
#7I was interested when I saw the project name, but this appears to be: mkdir -p pkg bin src export GOPATH="`pwd`" export PATH="$GOPATH/bin:$PATH" Only what I typed there is shorter and safer than the committed code. That's... simple, yes. https://github.com/ChuckHa/goenv/blob/master/goenv
Awesome, I won't pretend to be a bash expert. Any interest in opening a PR?
Re: A simple virtualenv for Go
#8This seems to copy a bad design decision from virtualenv. Please see https://gist.github.com/datagrok/2199506