From 59b02f1de23fadb3adcdcad09181b5342845c71c Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 29 Jun 2020 13:32:13 -0600 Subject: [PATCH] enumerate go language tools --- golang/install.sh | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/golang/install.sh b/golang/install.sh index 5574392..6d81bb1 100644 --- a/golang/install.sh +++ b/golang/install.sh @@ -53,11 +53,19 @@ pkg_post_install() { webi_path_add "$GOBIN/bin" # Install x go - echo "Building go extended tools (goimports, gorename, gotype, and stringer)" - "$pkg_dst_cmd" get golang.org/x/tools/cmd/goimports > /dev/null 2>/dev/null - "$pkg_dst_cmd" get golang.org/x/tools/cmd/gorename > /dev/null 2>/dev/null - "$pkg_dst_cmd" get golang.org/x/tools/cmd/gotype > /dev/null 2>/dev/null - "$pkg_dst_cmd" get golang.org/x/tools/cmd/stringer > /dev/null 2>/dev/null + echo "Building go language tools..." + echo gopls + "$pkg_dst_cmd" get golang.org/x/tools/gopls@latest > /dev/null #2>/dev/null + echo gotags + "$pkg_dst_cmd" get github.com/jstemmer/gotags > /dev/null #2>/dev/null + echo goimports + "$pkg_dst_cmd" get golang.org/x/tools/cmd/goimports > /dev/null #2>/dev/null + echo gorename + "$pkg_dst_cmd" get golang.org/x/tools/cmd/gorename > /dev/null #2>/dev/null + echo gotype + "$pkg_dst_cmd" get golang.org/x/tools/cmd/gotype > /dev/null #2>/dev/null + echo stringer + "$pkg_dst_cmd" get golang.org/x/tools/cmd/stringer > /dev/null #2>/dev/null } pkg_done_message() { -- 2.25.1