This tool allows managing the major version in the Go module paths. The module path can be the path of the module itself or one of the module's dependencies
The following example upgrades the module path to v2. The command requires
running within a valid Go module directory.
gobump github.com/exampleorg/examplerepo/v2The following example downgrades the module path to v0/v1. The command
requires running within a valid Go module directory.
gobump github.com/exampleorg/examplerepoTo install into GOBIN folder, run the following command:
go install github.com/danilvpetrov/gobump/cmd/gobump@latest