Install important Go tools
This commit is contained in:
13
scripts/go-tools-install.sh
Executable file
13
scripts/go-tools-install.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
function go_install() {
|
||||
local module="$1"
|
||||
echo "Installing $module"
|
||||
go install ${module}@latest
|
||||
}
|
||||
|
||||
go_install golang.org/x/tools/cmd/goimports
|
||||
go_install github.com/nsf/gocode
|
||||
go_install golang.org/x/lint/golint
|
||||
go_install github.com/godoctor/godoctor
|
||||
go_install github.com/haya14busa/goplay/cmd/goplay
|
||||
go_install github.com/rogpeppe/godef
|
||||
go_install golang.org/x/tools/cmd/gorename
|
||||
Reference in New Issue
Block a user