diff --git a/config/mise/config.toml b/config/mise/config.toml index 58067cb..f92090d 100644 --- a/config/mise/config.toml +++ b/config/mise/config.toml @@ -29,16 +29,19 @@ uvx = true "cargo:eza" = "latest" "cargo:kubectl-watch" = "latest" "cargo:paper-terminal" = "latest" -# "go:github.com/go-delve/delve/cmd/dlv" = "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" +"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" +"go:mvdan.cc/gofumpt" = "latest" "npm:@mermaid-js/mermaid-cli" = "latest" "npm:@prettier/plugin-php" = "latest" "npm:dockerfile-language-server-nodejs" = "latest" diff --git a/zsh/golang.zsh b/zsh/golang.zsh index aef2f19..fa015a8 100755 --- a/zsh/golang.zsh +++ b/zsh/golang.zsh @@ -19,21 +19,7 @@ list_go_global_packages() { } install_go_global_packages() { - local packages=( - github.com/fatih/gomodifytags@latest - github.com/go-delve/delve/cmd/dlv@latest - github.com/josharian/impl@latest - github.com/rakyll/hey@latest - github.com/rogpeppe/godef@latest - go.uber.org/mock/mockgen@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 - google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest - google.golang.org/protobuf/cmd/protoc-gen-go@latest - mvdan.cc/gofumpt@latest - ) + local packages=() for package in "${packages[@]}"; do echo "installing/updating \"$package\""