-
Perhaps I am missing a command line arg - but I do not see anything in the documentation that addresses this.
Using go-mockgen@v1.3.7 I see the following error related to generating a sub-package a…
-
I've setup my workstation as described [here](https://github.com/cloudfoundry/bosh-init/blob/master/docs/build.md) and could successfully run unit and acceptance tests (on virtualbox). But when I try …
-
*Requested feature*
Generate typed `Times()`, just as `Return`, `Do` and `DoAndReturn`
*Why the feature is needed*
I would like both of these cases supported:
```golang
// Supported, Return is …
-
If I derive a type from a core type and use that in my expectations, tests start failing where they didn't before, even where the inputs have not changed. I've only tested this with a `map`.
Below …
-
## Setup
Attempting to generate mocks for this interface:
```go
package testdata
import (
"context"
)
var _ = context.Background()
type Nothing interface {
}
```
panics on a nil …
-
```
Can we get a good example in the repository? The code in the sample/ dir
doesn't compile properly:
1001)~ % cd Software/go/src/pkg/gomock.googlecode.com/hg/sample
1002)hg/sample % mockgen --so…
-
```
Can we get a good example in the repository? The code in the sample/ dir
doesn't compile properly:
1001)~ % cd Software/go/src/pkg/gomock.googlecode.com/hg/sample
1002)hg/sample % mockgen --so…
-
```
Can we get a good example in the repository? The code in the sample/ dir
doesn't compile properly:
1001)~ % cd Software/go/src/pkg/gomock.googlecode.com/hg/sample
1002)hg/sample % mockgen --so…
-
redis.MGet only accepts two params. First is context, Second is a string slice.
So you can try change as this:
mockRedis.EXPECT().MGet(gomock.Any(), gomock.Any(), gomock.Any()).DoAndReturn(func(con…
HsqSw updated
9 months ago
-
```
Can we get a good example in the repository? The code in the sample/ dir
doesn't compile properly:
1001)~ % cd Software/go/src/pkg/gomock.googlecode.com/hg/sample
1002)hg/sample % mockgen --so…