Hello,
Is there a way to use only the most recent major version?
I tried (in go.mod):
but running go mod tidy then gives the error:
Background info:
*
github.com/google/go-github seems to bump its major version every couple of weeks, even when it does not break backwards compatibility.
* I can use the same old version (v61) in my project as in the dependency, but I'd like to keep my project's dependencies up to date.
* I could submit a PR to the dependency to update it to use the latest major version of
github.com/google/go-github, but because google/go-github bumps major versions so often, this is not a sustainable long term solution.
So, is there an incantation that I can add to my go.mod to force a dependency to use a newer major version of a module?
Thank you for any insight,
Tom