News for hackers. Stuff that matters.
Re:A simple virtualenv for Go by jerf on Tuesday December 03, 2013 @09:54AM (#6840568)
I 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 by chuckha on Tuesday December 03, 2013 @09:56AM (#6840583)
Awesome, I won't pretend to be a bash expert. Any interest in opening a PR?
Re:A simple virtualenv for Go by jerf on Tuesday December 03, 2013 @10:00AM (#6840611)
Naw, just go ahead and commit that if you like. That's too much easier to be worth the fork/checkout/commit/push/pull request cycle work in this case.
Re:A simple virtualenv for Go by olov on Tuesday December 03, 2013 @11:59AM (#6841494)
Understandable - but it's pretty easy to do small modifications like that using Github's edit feature. Everything but the editing itself is pretty much hidden away.
Re:A simple virtualenv for Go by jerf on Tuesday December 03, 2013 @12:52PM (#6841856)
Did not know that. Thanks!
Re:A simple virtualenv for Go by arsenerei on Tuesday December 03, 2013 @10:58AM (#6841014)
How is yours safer?
Re:A simple virtualenv for Go by jerf on Tuesday December 03, 2013 @11:43AM (#6841357)
Spaces in the path.