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.
 
 
dependabot[bot] 5329a8a4e7 chore(deps): bump github.com/urfave/cli/v2 from 2.23.4 to 2.23.5 4 weeks ago
.github chore: update github action 4 months ago
cmd/update-go-mod feat: update go.mod 4 months ago
internal/cli feat: ignore main, indirect module using Module struct 2 months ago
.deps feat: ignore containing modules 3 months ago
.gitignore feat: update go.mod 4 months ago
.golangci.yml chore: update golangci-lint config 3 months ago
.goreleaser.yml chore: update github action 4 months ago
CHANGELOG.md chore(changelog): generate v0.4.1 2 months ago
LICENSE chore: add license MIT 4 months ago
Makefile fix: remove default value of deps file 4 months ago
README.md chore: add install, guide in readme 4 months ago
go.mod chore(deps): bump github.com/urfave/cli/v2 from 2.23.4 to 2.23.5 4 weeks ago
go.sum chore(deps): bump github.com/urfave/cli/v2 from 2.23.4 to 2.23.5 4 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

Thanks