在隔离的路径中安装和卸载Go包——以保持你的GOPATH的清洁

366 阅读1分钟

👍好

一个用于将Go软件包安装到独立路径的工具,以保持全局GOPATH的清洁。由于隔离路径,卸载也是可能的。

这个工具的灵感来自于 pipx.

感谢DALL-e的标识:

Usage:
  good [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  install     Install a package named by its import path
  uninstall   Uninstall a package named by its import path

Flags:
  -d, --debug   debug mode
  -h, --help    help for good

Use "good [command] --help" for more information about a command.

安装

go install github.com/tigerinus/good

贡献

这个工具仍然处于早期阶段。我们绝对欢迎问题和拉动请求!