Go to file
sudo pacman -Syu a4e195f7c1
feat: ignore main, indirect module using Module struct
2022-09-22 00:39:57 +07:00
.github chore: update github action 2022-08-16 14:37:42 +07:00
cmd/update-go-mod feat: update go.mod 2022-07-22 21:09:34 +07:00
internal/cli feat: ignore main, indirect module using Module struct 2022-09-22 00:39:57 +07:00
.deps feat: ignore containing modules 2022-08-24 23:04:42 +07:00
.gitignore feat: update go.mod 2022-07-22 21:09:34 +07:00
.golangci.yml chore: update golangci-lint config 2022-08-29 00:09:46 +07:00
.goreleaser.yml chore: update github action 2022-08-16 10:50:36 +07:00
CHANGELOG.md chore(changelog): generate v0.3.1 2022-08-29 00:14:09 +07:00
LICENSE chore: add license MIT 2022-07-22 23:01:17 +07:00
Makefile fix: remove default value of deps file 2022-08-16 10:50:36 +07:00
README.md chore: add install, guide in readme 2022-07-22 23:11:07 +07:00
go.mod chore(deps): bump github.com/urfave/cli/v2 from 2.16.2 to 2.16.3 2022-09-12 20:14:39 -07:00
go.sum chore(deps): bump github.com/urfave/cli/v2 from 2.16.2 to 2.16.3 2022-09-12 20:14:39 -07:00

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