Quantcast
Channel: Filed under: go | Miek
Viewing all articles
Browse latest Browse all 13

Personal Go install

$
0
0

With golang 1.2, both godoc and go vet are removed from the main repository. Here is a super short list of commands (that I personally use) to install Go and both tools.

export GOBIN=~/bin
export GOPATH=~/g
mkdir -p ~/upstream/go
mkdir -p ~/g
cd ~/upstream/go
hg clone https://code.google.com/p/go/
hg update release
go get code.google.com/p/go.tools/cmd/godoc
go get code.google.com/p/go.tools/cmd/vet

Viewing all articles
Browse latest Browse all 13

Latest Images

Trending Articles





Latest Images