gomod/README.md
Young Xu 56cead31aa
chore: add license
Signed-off-by: Young Xu <xuthus5@gmail.com>
2024-09-03 02:23:40 +08:00

801 B

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