From: AJ ONeal Date: Mon, 29 Jun 2020 19:32:13 +0000 (-0600) Subject: enumerate go language tools X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=59b02f1de23fadb3adcdcad09181b5342845c71c;p=webi-installers%2F.git enumerate go language tools --- 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() {