-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Description
See golang/mock#420 for an example of how one can avoid using packages.Load in mock generation. This increases performance.
Full disclosure: this would also be useful for creating a Bazel wrapper around Counterfeiter because:
- Bazel projects typically have a lot of packages in the transitive closure of dependencies, so
packages.Loadis a
particularly large pain point that must be re-invoked across every package - It might allow a partially generated GOPATH to be used instead of a complete GOPATH, which would make things even
faster since the Bazelgo_pathrule can be invoked non-recursively on a small subset of the transitive closure.
Metadata
Metadata
Assignees
Labels
No labels