Go to file
dependabot[bot] 3c92928f2b
chore(deps): bump github.com/spf13/cast from 1.7.0 to 1.7.1 (#71)
Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/spf13/cast/releases)
- [Commits](https://github.com/spf13/cast/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cast
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-19 11:43:25 +07:00
.github chore: remove goreleaser 2024-06-10 02:07:25 +07:00
cmd/update-go-mod build: update go-github from v65 to v67 2024-11-28 00:56:11 +07:00
internal/cli build: update go-github from v65 to v67 2024-11-28 00:56:11 +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 lint 2024-10-26 23:33:52 +07:00
CHANGELOG.md chore(changelog): generate v0.8.0 2024-11-01 19:06:57 +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 chore(deps): bump github.com/spf13/cast from 1.7.0 to 1.7.1 (#71) 2024-12-19 11:43:25 +07:00
go.sum chore(deps): bump github.com/spf13/cast from 1.7.0 to 1.7.1 (#71) 2024-12-19 11:43:25 +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