From: AJ ONeal Date: Thu, 1 Oct 2020 23:46:22 +0000 (+0000) Subject: include godoc, duh X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=8292f12db57e98dfcde54cb4f7b78740f8460605;p=webi-installers%2F.git include godoc, duh --- diff --git a/golang/install.sh b/golang/install.sh index adb6d20..f11581f 100644 --- a/golang/install.sh +++ b/golang/install.sh @@ -56,6 +56,12 @@ pkg_post_install() { echo "Building go language tools..." export GO111MODULE=on + # See https://pkg.go.dev/mod/golang.org/x/tools?tab=packages + + echo "" + echo godoc + "$pkg_dst_cmd" get golang.org/x/tools/cmd/godoc@latest > /dev/null #2>/dev/null + echo "" echo gopls "$pkg_dst_cmd" get golang.org/x/tools/gopls@latest > /dev/null #2>/dev/null @@ -72,6 +78,10 @@ pkg_post_install() { echo goimports "$pkg_dst_cmd" get golang.org/x/tools/cmd/goimports@latest > /dev/null #2>/dev/null + echo "" + echo gomvpkg + "$pkg_dst_cmd" get golang.org/x/tools/cmd/gomvpkg@latest > /dev/null #2>/dev/null + echo "" echo gorename "$pkg_dst_cmd" get golang.org/x/tools/cmd/gorename@latest > /dev/null #2>/dev/null