You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
2 weeks ago | |
---|---|---|
.github | 4 weeks ago | |
cmd/update-go-mod | 8 months ago | |
internal/cli | 4 weeks ago | |
.deps | 7 months ago | |
.gitignore | 8 months ago | |
.golangci.yml | 4 weeks ago | |
.goreleaser.yml | 7 months ago | |
CHANGELOG.md | 4 weeks ago | |
LICENSE | 8 months ago | |
Makefile | 4 weeks ago | |
README.md | 8 months ago | |
go.mod | 2 weeks ago | |
go.sum | 2 weeks ago |
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
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 anythin
update-go-mod --dry-run