$ gomajor help
GoMajor is a tool for major version upgrades
Usage:
gomajor <command> [arguments]
The commands are:
get upgrade to a major version
list list available updates
path modify the module path
help show this help text
List Updates
$ gomajor list
github.com/go-redis/redis: v6.15.9+incompatible [latest v8.1.3]
Update and Rewrite Imports
$ gomajor get github.com/go-redis/redis@latest
go get github.com/go-redis/redis/v8@v8.1.3
foo.go:4:2 github.com/go-redis/redis/v8
bar.go:5:2 github.com/go-redis/redis/v8