Install important Go tools

This commit is contained in:
Martin Blazik
2022-03-19 10:51:21 +01:00
parent 0102056590
commit e904c88a75

13
scripts/go-tools-install.sh Executable file
View 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