jacobsa/gomock — Issue #1: Use reflect package with installed packages for mockgen
Author: jacobsa
Created: 2012-01-04 08:17:28+00:00
State: open

It seems like `mockgen` might be much simpler to use if it operated on installed packages; perhaps you wouldn't need to give it as much info about aux files and imports to use. It could use the `reflect` package to figure this out for itself.

For example, to mock the `Frobnicator` interface from installed package `github.com/foo/bar` you might say:

mockgen github.com/foo/bar Frobnicator > mock_frobnicator.go