goinstall go-tour.googlecode.com/hg/gotour
Running the above command give me the following message ..
goinstall: encoding/json: go/build: package could not be found locally
goinstall: code.google.com/p/go-tour/pic: cannot download: code.google.com/p/go-tour/pic
goinstall: code.google.com/p/go-tour/tree: cannot download: code.google.com/p/go-tour/tree
goinstall: code.google.com/p/go-tour/wc: cannot download: code.google.com/p/go-tour/wc
goinstall: os/exec: go/build: package could not be found locally
goinstall: net/http: go/build: package could not be found locally
I know that there is problem with path setting .. i also checked this post
export PATH=$PATH:/home/sakthi/sakthig/code/my/go/go/bin
export GOROOT=/home/sakthi/sakthig/code/my/go/go
export GOPATH=$GOROOT/bin
This is my current path setting.. any help ?
The Go Tour project has been updated recently.
The Go weekly.2011-11-09 release renamed the
json
package toencoding/json
.The Go weekly.2011-12-14 release changed the naming for the
go-tour
packageimport
paths from"go-tour.googlecode.com/hg/tree"
to"code.google.com/p/go-tour/tree"
.Update to the Go weekly release (Keeping up with releases).
Then install the
go-tour/tree
package.