-
**Is your feature request related to a problem? Please describe.**
It is not possible to test functions that depend on `datastore` package interfaces without a mock.
**Describe the solution you'd …
-
### Situation 1
```bash
[INFO] --> Fetching google.golang.org/appengine.
[WARN] Unable to checkout google.golang.org/appengine
[ERROR] Update failed for google.golang.org/appengine: Cannot detec…
sotex updated
5 years ago
-
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…
-
vet: gomock/call.go line 149
lint: gomock/call.go line 207
lint mockgen/tests/generated_identifier_conflict/bugreport.go line 5
lint gomock/mockgen/tests/generated_identifier_conflict/bugreport…
-
# Steps to reproduce:
1. Clone git@github.com:linzhp/go_examples.git to GOPATH
2. Run `mockgen -package core -self_package github.com/linzhp/go_examples/interfaces github.com/linzhp/go_examples/in…
-
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 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!
-
**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…
-
**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…
-
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 `…