-
```
What steps will reproduce the problem?
1. Acquire https://github.com/fluffle/goirc/blob/master/event/registry.go
2. Run mockgen -source registry.go -destination mock_registry.go -package event
Wh…
-
**Actual behavior**
Moving from `golang/mock` I got this error when running the `mockgen` command and using reflection:
```
mockgen -build_flags=-mod=vendor -destination=internal/testing/mock/moc…
-
**Actual behavior**
If your source file contains dot imports and the output package name is different, mockgen's output will be a file that cannot be compiled.
**Expected behavior**
The output wi…
-
```
What steps will reproduce the problem?
1. Acquire https://github.com/fluffle/goirc/blob/master/event/registry.go
2. Run mockgen -source registry.go -destination mock_registry.go -package event
Wh…
-
```
What steps will reproduce the problem?
1. Acquire https://github.com/fluffle/goirc/blob/master/event/registry.go
2. Run mockgen -source registry.go -destination mock_registry.go -package event
Wh…
-
```
What steps will reproduce the problem?
1. Acquire https://github.com/fluffle/goirc/blob/master/event/registry.go
2. Run mockgen -source registry.go -destination mock_registry.go -package event
Wh…
-
Hi team.
## What
It would be nice if the core logic of mockgen is placed in some package other than `main`. This makes mockgen importable.
`main` package should contain only CLI-related proce…
-
**Actual behavior** A clear and concise description of what the bug is.
I used to this kind of situation where go generate fails and the mockgen leftovers got not clean
**Expected behavior** A c…
-
**Actual behavior**
We have a fairly large project and running mockgen takes several minutes. During that time all of the generated mock files get deleted and rewritten. This causes 2 issues:
* if w…
-
Suppose mockgen was run on a source file that specified `proto.Message`. Today, mockgen will generate a file that imports `"github.com/golang/protobuf/proto"`, which is the current place that `proto.M…
dsnet updated
2 years ago