The current gomock.bzl implementation declares a dependency
on the GoPath provider to virtualize a GOPATH in the execution
of mockgen.
Upon further investigation and experimentation, it appears that
this isn't necessary for reflect-based mock generation. This opts
to remove the GoPath dependency from the reflect path.
The current
gomock.bzl
implementation declares a dependency on theGoPath
provider to virtualize aGOPATH
in the execution of mockgen.Upon further investigation and experimentation, it appears that this isn't necessary for reflect-based mock generation. This opts to remove the
GoPath
dependency from the reflect path.