a2dd53788f
Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.6.0 to 1.7.0. - [Release notes](https://github.com/spf13/cast/releases) - [Commits](https://github.com/spf13/cast/compare/v1.6.0...v1.7.0) --- updated-dependencies: - dependency-name: github.com/spf13/cast dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.github | ||
cmd/update-go-mod | ||
internal/cli | ||
.deps | ||
.gitignore | ||
.golangci.yml | ||
CHANGELOG.md | ||
LICENSE | ||
Makefile | ||
README.md | ||
go.mod | ||
go.sum |
README.md
update-go-mod
Only upgrade specific subset not all modules.
Install
Should use Go version >= 1.16
:
go install github.com/haunt98/update-go-mod/cmd/update-go-mod@latest
Usage
Create local file .deps
(example) or use url depends on your use
case:
# Default read from .deps
update-go-mod
# Read from URL
update-go-mod --deps-url "https://example.txt"
# Don't do anything
update-go-mod --dry-run
# Take a look
# Require GitHub access token in ~/.netrc
update-go-mod overlook