fix(golang): install Go dev tools with go install and general CLI tools with mise

This commit is contained in:
2025-02-28 09:06:49 +00:00
parent 37a7552518
commit f3df7e2253
2 changed files with 11 additions and 9 deletions

View File

@@ -19,7 +19,16 @@ list_go_global_packages() {
}
install_go_global_packages() {
local packages=()
local packages=(
"github.com/fatih/gomodifytags@latest"
"github.com/go-delve/delve/cmd/dlv@latest"
"github.com/josharian/impl@latest"
"github.com/rogpeppe/godef@latest"
"golang.org/x/tools/cmd/godoc@latest"
"golang.org/x/tools/cmd/goimports@latest"
"golang.org/x/tools/gopls@latest"
"golang.org/x/vuln/cmd/govulncheck@latest"
)
for package in "${packages[@]}"; do
echo "installing/updating \"$package\""