Skip to content

Latest commit

 

History

History
52 lines (44 loc) · 2.05 KB

go.md

File metadata and controls

52 lines (44 loc) · 2.05 KB

Go

export GO111MODULE=on
go install golang.org/x/tools/gopls@latest
go install github.com/go-delve/delve/cmd/dlv@latest
go install github.com/rogpeppe/godef@latest
go install github.com/golang/lint/golint@latest
go install github.com/lukehoban/go-find-references@latest
go install github.com/lukehoban/go-outline@latest
go install github.com/tpng/gopkgs@latest
go install github.com/newhook/go-symbols@latest
go install sourcegraph.com/sqs/goreturns@latest
go install golang.org/x/tools/cmd/gorename@latest
go install github.com/mdempsky/gocode@latest
go install golang.org/x/tools/cmd/guru@latest
go install golang.org/x/tools/cmd/godoc@latest
go install github.com/cweill/gotests@latest
go install github.com/fatih/gomodifytags@latest
go install github.com/josharian/impl@latest
go install github.com/davidrjenni/reftools/cmd/fillstruct@latest
go install github.com/haya14busa/goplay/cmd/goplay@latest
# # tools/cmd/gorename
# cd $GOPATH/src/golang.org
# git clone https://github.com/golang/tools
# cd cmd/gorename
# go install

多版本管理

curl -sSL https://github.com/soulteary/gvm/raw/master/binscripts/gvm-installer | bash

gvm install go1.19.6 -B
gvm use go1.19.6
gvm use go1.19.6 --default

gvm install go1.20.1 -B
gvm use go1.20.1

参考项目

参考资料