For some strange reason I get this:
# sb at rama.site in ~/.golang/src/
github.com/jubalh [11:12:56]
$ go vet
can't load package: package
github.com/jubalh: no buildable Go source
files in /home/sb/.golang/src/
github.com/jubalh
# sb at rama.site in ~/.golang/src/
github.com/jubalh [11:13:02]
$ cd pinkman
# sb at rama.site in ~/.golang/src/
github.com/jubalh/pinkman on
git:master x [11:13:06]
$ ls
pinkman pinkman.go stockfish1 UCIProtocol.html ui.go
# sb at rama.site in ~/.golang/src/
github.com/jubalh/pinkman on
git:master x [11:13:07]
$ go vet
go tool: no such tool "vet"; to install:
go get
code.google.com/p/go.tools/cmd/vet
It seems as soon as I go in to the directory with the source files go
vet isn't recognized anymore?
This is my go env:
GOARCH="amd64"
GOBIN="/home/sb/.golang/bin"
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/sb/.golang"
GORACE=""
GOROOT="/usr/lib64/go"
GOTOOLDIR="/usr/lib64/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"
--
Michael