update-go-mod/README.md

31 lines
510 B
Markdown
Raw Normal View History

2022-07-22 14:09:34 +00:00
# update-go-mod
2022-07-22 15:55:14 +00:00
Only upgrade specific subset not all modules.
2022-07-22 16:11:07 +00:00
## Install
Should use Go version `>= 1.16`:
```sh
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:
```sh
# 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
```
2022-07-22 14:09:34 +00:00
## Thanks
- [Managing dependencies](https://go.dev/doc/modules/managing-dependencies)