From 8292f12db57e98dfcde54cb4f7b78740f8460605 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 1 Oct 2020 23:46:22 +0000 Subject: [PATCH] include godoc, duh --- golang/install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.25.1