-
mockgen with Imports flag does not generate the mocked file correctly.
mockgen -source ../iam/types/apis.go -destination cmd/iam_mock.go -package iam -imports iamTypes=git.nexgen.neustar.biz/IAS/iam/…
-
I'm attempting to build the ECS agent on an EC2 instance running Ubuntu 14.04, and getting the following error when it attempts to pull the mockgen dependency, with the error
```
package code.google.…
-
I was able to reduce my problem to this minimal case:
``` go
package test
import (
"io"
)
type Iface interface {
io.WriteCloser
}
```
Then mockgen fails:
``` shell
$ $GOPATH/bin/mockgen -…
-
I built [latest release](https://github.com/mozilla-services/heka/releases/tag/v0.9.2) and trying to make a package for redistribution.
`cpack` emits something about `*.nuspec` and does not work, bec…
-
```
errortest
errortest (bad ping): unrecognized import path "errortest" (import path does not begin with hostname)
gen/stress
gen/stress (bad ping): unrecognized import path "gen/stress" (import path…
-
If an interface has a method containing a literal struct type, then mockgen isn't able to generate a mock when using source mode.
E.g. `interfaces.go`:
```
type Foo interface {
Baz(struct{})
}
…
-
```
What steps will reproduce the problem?
Mockgen produces invalid output on the attached file.
What is the expected output? What do you see instead?
The function on line 64 of the produced output h…
-
```
When running mockgen on the net.go file part of the standard library, I receive
an unpleasant error. After some exploration, I determined that it fails on the
net.Error interface (mockgen succes…
-
```
What steps will reproduce the problem?
Mockgen produces invalid output on the attached file.
What is the expected output? What do you see instead?
The function on line 64 of the produced output h…
-
```
When mockgen creates a file in a different package than the source file (ie the
default case, in package mock_default_package), the original package and types
are not imported.
See attached fil…