Answer the question
In order to leave comments, you need to log in
Help setting up Go
Guys, please tell me how to configure Go correctly, so that when go get ...
no errors would fly out
Answer the question
In order to leave comments, you need to log in
I'll tell you about my file structure: I have a folder ~/Code/go. This is where GOPATH points to me (read about environment variables if you work from the command line - export GOPATH=/path/to/folder/s/go will set your GOPATH before closing the terminal, to save the effect you need to set it elsewhere). Now I can go get code.google.com/p/go.net/html and voila! It will create a folder $GOPATH/pkg/code.google.com/p/.... and $GOPATH/src/code.google.com/p/...
I'm going to write a tutorial on setting up a Go environment. For me it was a barrier.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question