Jump to content

Go: Difference between revisions

2 bytes added ,  2 February 2016
 
Line 5: Line 5:
We have Go installed on our dev server pygmalion but unfortuanlty it doesnt work out of the box. Due to the way go works each user must set up their own GOPATH, thankfully this isnt hard, simply  
We have Go installed on our dev server pygmalion but unfortuanlty it doesnt work out of the box. Due to the way go works each user must set up their own GOPATH, thankfully this isnt hard, simply  
   mkdir ~/go
   mkdir ~/go
   export GOROOT=/usr/lib/go
   export GOROOT=/usr/local/go
   export GOPATH=$HOME/go
   export GOPATH=$HOME/go
And for the sake of convenience we can add that to out normal PATH
And for the sake of convenience we can add that to out normal PATH