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

@@ -29,18 +29,11 @@ uvx = true
"cargo:eza" = "latest"
"cargo:kubectl-watch" = "latest"
"cargo:paper-terminal" = "latest"
"go:github.com/fatih/gomodifytags" = "latest"
"go:github.com/go-delve/delve/cmd/dlv" = "latest"
"go:github.com/josharian/impl" = "latest"
"go:github.com/rakyll/hey" = "latest"
"go:github.com/rogpeppe/godef" = "latest"
"go:go.uber.org/mock/mockgen" = "latest"
"go:golang.org/x/tools/cmd/godoc" = "latest"
"go:golang.org/x/tools/cmd/goimports" = "latest"
"go:golang.org/x/tools/gopls" = "latest"
"go:golang.org/x/vuln/cmd/govulncheck" = "latest"
"go:google.golang.org/grpc/cmd/protoc-gen-go-grpc" = "latest"
"go:google.golang.org/protobuf/cmd/protoc-gen-go" = "latest"
"npm:@anthropic-ai/claude-code" = "latest"
"npm:@mermaid-js/mermaid-cli" = "latest"
"npm:@prettier/plugin-php" = "latest"
"npm:dockerfile-language-server-nodejs" = "latest"

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\""