为Sublime Text2添加Go语言的Build
运行结果:
liuxinmingdeMacBook-Pro:gotest liuxinming$ go env
GOARCH="amd64"
GOBIN=""
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/liuxinming/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"
===========华丽分割线===============
liuxinmingdeMacBook-Pro:gotest liuxinming$ go version
go version go1.4 darwin/amd64
liuxinmingdeMacBook-Pro:gotest liuxinming$