-
I'm following the docs to the best of my ability, but can't seem to get around this issue (note I scrubbed the module and user names from the path):
```
~/go/bin$ wget --quiet -O pegomock_2.2.0 ht…
-
In `github.com/golang/mock/gomock/controller.go` I get an issue:
```
cannot find package "golang.org/x/net/context" in any of:
/usr/local/Cellar/go/1.9/libexec/src/golang.org/x/net/context (from…
-
In entire project I was generating mocks by putting go:generate comment above the interfaces declarations
//go:generate mockgen -source=$GOFILE -destination=../mock/mock_repo/$GOFILE
And it use …
-
**Is this a BUG REPORT or FEATURE REQUEST?**:
/kind bug
**What happened**:
```
$ git rev-parse HEAD
a97e74308d061f0c38bad03c0c4dacbd3b4b0345
$ cd tests/
$ ls default-config.json
default…
-
I notice that if I make a small change to my code, I need to spend 15-ish seconds afterwards to regenerate the appropriate mock. Running `top`, I see that it runs a log of Go compile processes during …
-
When importing a package into the current namespace (dot import), local identifiers get prepended with that package (which is wrong) in the generated mock source.
Even worse:
when having two or mo…
aksdb updated
5 years ago
-
It looks like mockgen doesn't attach the package name to a type if the package is set (via `--package`).
Example:
Notice in `mock_test.go` any usage of `User` does not have the package name `use…
-
Mock generation via reflect mode always takes more that 1 second on my mac
```bash
$ \time -p mockgen github.com/aws/aws-sdk-go/service/kms/kmsiface KMSAPI > /dev/null
real 1.27
user …
-
Currently the the default `package mock_name` is the oposite of `package name_test` naming convention. Can this be revisited so we have `name_mock` and `name_test` and also take some time to investiga…
-
We're using gomock in our tests. Recently I installed (go get) gomock v1.2.0. My project was locked on v1.1.1. I made mocks using mockgen v1.2.0. Then when the tests ran, they used the locked in gomoc…