Identifies dependent modules that have raised the Go version.
You can install why-go-over
using Homebrew, from source, or by downloading the binary.
In case you're using Homebrew:
brew install ebi-yade/tap/why-go-over
Other ways
go install github.com/ebi-yade/why-go-over/cmd/why-go-over@latest
You can download the binary from the releases page,
Imagine you run go get -u ./...
and notice that the go
directive in your go.mod
file has unexpectedly been updated from 1.22 to 1.23.
To identify which modules caused the required Go version to increase, run:
why-go-over 1.22