bazelbuild / rules_go

Go rules for Bazel
Apache License 2.0
1.37k stars 651 forks source link

undefined: gomock.AssignableToTypeOf while using github third party package "github.com/golang/mock" in Golang Project using bazel as a Build tool #3069

Open divesh979 opened 2 years ago

divesh979 commented 2 years ago

What version of rules_go are you using?

v0.30.0

What version of gazelle are you using?

v0.24.0

What version of Bazel are you using?

4.2.1

Does this issue reproduce with the latest releases of all the above?

Yes

What operating system and processor architecture are you using?

Linux amd64

Any other potentially useful information about your toolchain?

Golang is language that we are using for our project

What did you do?

The issue is undefined: gomock.AssignableToTypeOf Occuring While using function gomock.AssignableToTypeOf of package "github.com/golang/mock"

What did you expect to see?

No issues should occur while using function gomock.AssignableToTypeOf of package "github.com/golang/mock"

What did you see instead?

The issue is undefined: gomock.AssignableToTypeOf Occuring While using function gomock.AssignableToTypeOf of package "github.com/golang/mock"

divesh979 commented 2 years ago

Any updates on this ?