tsuna/gohbase

Can github.com/golang/mock upgrade to v1.5.0?

Closed this issue · 0 comments

ax2 commented

I'm using go 1.17, when run go mod tidy, it shows:

    github.com/tsuna/gohbase tested by
    github.com/tsuna/gohbase.test imports
    github.com/golang/mock/gomock loaded from github.com/golang/mock@v1.4.3,
    but go 1.16 would select v1.5.0

To upgrade to the versions selected by go 1.16:
go mod tidy -go=1.16 && go mod tidy -go=1.17
If reproducibility with go 1.16 is not needed:
go mod tidy -compat=1.17
For other options, see:
https://golang.org/doc/modules/pruning

If upgrade to go 1.18, it will also be fixed. But I can't upgrade go 1.18, nether I can change go mod tidy command's params.
It is possible to upgrade github.com/golang/mock to v1.5.0?