Go: Difference between revisions

From Redbrick Wiki
Jump to navigation Jump to search
(Created page with "GO is a great language used by all the cpssd that want to work for google == Using GO on Redbrick == We have Go installed on our dev server pygmalion but unfortuanlty it doe...")
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
== Using GO on Redbrick ==
== Using GO on Redbrick ==


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 unfortunately it doesn't work out of the box. Due to the way go works each user must set up their own GOPATH, thankfully this isn't hard, simply  
   mkdir ~/go
   mkdir ~/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
   export PATH=$PATH:$GOPATH/bin
   export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
Now your ready to go...
Now your ready to go...


Line 16: Line 17:


...I'm sorry :(
...I'm sorry :(
[[Category:Helpdesk]]

Latest revision as of 00:33, 22 April 2026

GO is a great language used by all the cpssd that want to work for google

Using GO on Redbrick

We have Go installed on our dev server pygmalion but unfortunately it doesn't work out of the box. Due to the way go works each user must set up their own GOPATH, thankfully this isn't hard, simply

 mkdir ~/go
 export GOROOT=/usr/local/go
 export GOPATH=$HOME/go

And for the sake of convenience we can add that to out normal PATH

 export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

Now your ready to go...


did you see what we did there?


...I'm sorry :(