Closed thomas91310 closed 5 years ago
The head version of gomock no longer supports go1.9. In general, we support the last three major releases. Once go12 was released we added support for modules, which broke compatibility with go1.9. This was intentional in the sense that we held off on this change until 1.9 was no longer one of the last three major releases.
cool, thanks for the explanation! We can close this then
Yesterday, because I didn't pin the
golang/mock
version, I started getting this error on CI:This is the go version and I have a feeling the issue might be related to this (meaning upgrading to go 11 would not generate this problem):
This is the
go env
:This fixes the problem:
Back to my repo where I setup mocks:
Didn't really investigate further but it seems to be coming from you since the
mockgen
package was updated 22 hours ago right when we started seeing our builds fail?