mkdir -p $GOPATH/src/golang.org/x //路徑下建立此文件git
cd $GOPATH/src/golang.org/x //切換到此目錄github
git clone https://github.com/golang/tools.git //經過git安裝 toolsgolang
git clone https://github.com/golang/lint.git //安裝 lint spa
go get golang.org/x/lint/golint //而後執行get