Go to file
sudo pacman -Syu 0527e742c1 build: bump urfave/cli v3 2025-04-06 10:35:30 +07:00
.github chore(deps): bump golangci/golangci-lint-action from 6 to 7 (#85) 2025-03-25 11:42:28 +07:00
cmd/update-go-mod build: bump urfave/cli v3 2025-04-06 10:35:30 +07:00
internal/cli build: bump urfave/cli v3 2025-04-06 10:35:30 +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: use golangci-lint v2 2025-03-25 11:42:56 +07:00
CHANGELOG.md chore(changelog): generate v0.8.4 2025-03-25 15:17:45 +07:00
LICENSE chore: add license MIT 2022-07-22 23:01:17 +07:00
README.md chore: add badges 2023-09-23 14:11:25 +07:00
go.mod build: bump urfave/cli v3 2025-04-06 10:35:30 +07:00
go.sum build: bump urfave/cli v3 2025-04-06 10:35:30 +07:00
justfile chore: lint with modernize 2025-03-25 15:17:24 +07:00

README.md

update-go-mod

Go Latest Version

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

Thanks