Installing go:
1. mkdir ~/go
mkdir ~/goprojects
Install go from golang.org site
Install goeclipse ==> juno eclipse and install goeclipse plugin
Install gocode
go get -u github.com/nsf/gocode
setup environment variables in ~/.profile
export GOROOT=$HOME/go
export PATH=$PATH:$GOROOT/bin
export GOPATH=$HOME/goprojects
export PATH=$PATH:$GOPATH/bin
https://tour.golang.org/welcome/1
Golang book
http://www.golang-book.com/11/index.htm
Go Libraries:
https://github.com/Xelom/Go-Libraries
Debugging tips:
1. only variable with Capital letter are exported.
No comments:
Post a Comment