Another case with Golang && go get. They are very cool, but not for the first look. You read it's documentation, execute all instructions and than get something like go can't find `projectname` in $GOPATH and $GOROOT. So i created simple bash script which will help you to set up golang environment from the scratch. It makes 3 simple things:
- Creates directories for Golang compiler and your future projects
- Downloads golang compiler and builds it
- Puts golang/bin/ and directory with your projects to $GOPATH
- For newbie gophers
- For fast setting up golang environment
Just run this script and pass directory path where will be golang and projects, and your github username. It will create directories for golang and you project. After it you can start to coding.
That's all. If you will have any questions/suggestions/problems with this script write me a comment.
Happy coding :)