I add a test file for a package using gomock to an existing Go project, and now I am getting
...imports github.com/golang/mock: build constraints exclude all Go files in /home/bserdar/go/pkg/mod/github.com/golang/mock@v1.4.3
when I run go test
from one of the packages using gomock. There are no build constraints in my project. Any idea what is wrong here?