mod升级管理工具
Go to file
Young Xu 56cead31aa
chore: add license
Signed-off-by: Young Xu <xuthus5@gmail.com>
2024-09-03 02:23:40 +08:00
gomod first commit 2024-09-03 02:11:02 +08:00
.gitignore first commit 2024-09-03 02:11:02 +08:00
git-ls-remote_test.go first commit 2024-09-03 02:11:02 +08:00
git-ls-remote.go first commit 2024-09-03 02:11:02 +08:00
go.mod first commit 2024-09-03 02:11:02 +08:00
go.sum first commit 2024-09-03 02:11:02 +08:00
gomod.go first commit 2024-09-03 02:11:02 +08:00
LICENSE chore: add license 2024-09-03 02:23:40 +08:00
README.md chore: add license 2024-09-03 02:23:40 +08:00
utils.go first commit 2024-09-03 02:11:02 +08:00

gomod

go mod manager: analyzed and upgrade project dependencies

install

go install gitter.top/apps/gomod/...@latest

usage

you can upgrade go.mod using:

x@fedora:~/GolandProjects/gomod$ gomod u
[INFO] [url=github.com/google/go-github/v64@v64.0.0] upgrade success
[INFO] [url=github.com/sirupsen/logrus@v1.9.3] upgrade success
[INFO] [url=github.com/spf13/cobra@v1.8.1] upgrade success
[INFO] [url=github.com/stretchr/testify@v1.9.0] upgrade success
[INFO] [url=gitter.top/common/lormatter@v0.0.1] upgrade success
[INFO] [url=golang.org/x/mod@v0.20.0] upgrade success
[INFO] [url=golang.org/x/net@v0.28.0] upgrade success

feature

  • gomod show go.mod available updates
  • gomod u upgrade go.mod
  • gomod a analyzed project dependencies