Install important Go tools

This commit is contained in:
Martin Blazik
2022-03-28 17:20:01 +02:00
parent 0102056590
commit e904c88a75
+13
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