-
I'm having a problem with the -import mechanism in mockgen. I'm trying to set the name of a package which the mock is importing. I can't figure out how to do it.
When I create a mock with mockgen, …
-
I generate my mocks using a script, and generally try to keep the mocks next to the tests that use them. So far this has helped me avoid cyclic dependencies, and helped me keep mock code in test packa…
-
I think the destionation option should generate the folder if it does not exist instead of throwing an error. Or at least have a flag to be able to do this. In my opinion!
-
It would be really helpful to include `mockgen` binaries with tagged releases similar to [glide](https://github.com/Masterminds/glide/releases). This makes it easier for using the correct version of `…
-
**Description of the problem**
Currently that code (e.g. `github.com/vmware-tanzu/octant/pkg/store/fake` package) is not checked-in. This creates issues for other projects which use Go module suppo…
-
Hi
I have a perfect mock generated, but it outputs a "True" file. Is it possible to silence this?
I just expect it to be a log, saying everything went ok.
-
Both source and reflect mode fail in different cases outside of GOPATH. One case is type aliases (already mentioned in #144 and #244), another is using type defined in same package. Inside GOPATH all …
-
**Actual behavior**
```
mockgen -destination=mocks/mock_user.go -source=internal/module/user/initiator.go
2020/01/07 17:24:53 Loading input failed: internal/module/user/initiator.go:54:6: failed p…
-
In GitLab by @EVODelavega on Mar 26, 2019, 17:30
_Merges feature/add-orders-tests -> develop_
-
Just helped a friend who is newer to Go through getting a mock made.
She wanted it for tests in her current package and so used the "reflection" version of the mockgen command to make them. However, …