Go to file
sudo pacman -Syu f4593dcc61 feat: try to remove toolchain first 2024-11-01 19:05:29 +07:00
.github
cmd/update-go-mod build: update go-github to v65 2024-09-16 21:15:31 +07:00
internal/cli feat: try to remove toolchain first 2024-11-01 19:05:29 +07:00
.deps
.gitignore
.golangci.yml chore: sync lint 2024-10-26 23:33:52 +07:00
CHANGELOG.md chore(changelog): generate v0.7.7 2024-09-13 15:05:11 +07:00
LICENSE
README.md
go.mod feat: use sonic to unmarshal json 2024-11-01 18:59:19 +07:00
go.sum feat: use sonic to unmarshal json 2024-11-01 18:59:19 +07:00
justfile chore: migrate to justfile 2024-08-22 14:52:38 +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