Go to file
sudo pacman -Syu 43cbe0f6af feat: replace last update with last commit 2023-08-16 00:39:23 +07:00
.github chore: update github action 2023-07-01 01:09:33 +07:00
cmd/update-go-mod refactor: move init github client 2023-08-15 19:22:06 +07:00
internal/cli feat: replace last update with last commit 2023-08-16 00:39:23 +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: sync golangci-lint 2023-06-29 10:46:34 +07:00
.goreleaser.yml chore: update github action 2022-08-16 10:50:36 +07:00
CHANGELOG.md chore(changelog): generate v0.6.0 2023-08-15 19:22:32 +07:00
LICENSE chore: add license MIT 2022-07-22 23:01:17 +07:00
Makefile chore: update make 2023-02-26 00:09:09 +07:00
README.md chore: fix typo 2023-08-15 19:28:11 +07:00
go.mod feat: use conc pool to speed up 2023-08-15 19:22:06 +07:00
go.sum feat: use conc pool to speed up 2023-08-15 19:22:06 +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 anything
update-go-mod --dry-run

# Take a look
# Require GitHub access token in ~/.netrc
update-go-mod overlook

Thanks