-
# First and foremost consider this:
- Only RetroArch bugs should be filed here. Not core bugs or game bugs
- This is not a forum or a help section, this is strictly developer oriented
## Descript…
-
sample project structure is
```
gomocktst
├── mock_data
│ └── interface_mock.go
├── interface.go
├── interface_test.go
```
`interface.go` contains code:
```go
package gomocktst
…
-
It would be handy if there were mocks of the generated interfaces from these generators. Seems like it would not be a huge deal to add given that these are already autogenerated.
Thoughts?
Exam…
-
$ go get -u github.com/jteeuwen/go-bindata
$ go get -u github.com/golang/mock/mockgen
$ go get -u github.com/maxbrunsfeld/counterfeiter
$ go generate $(glide nv)
2017/12/14 17:24:30 Loading input …
-
Hi! I have failed [build](https://travis-ci.org/kamilsk/form-api/jobs/318024326) with gomock on the master branch.
```
2017/12/18 11:18:46 Loading input failed: gob: name not registered for interf…
-
If you vendor a dependency into `vendor/`, what's the best way to generate mocks for it?
If you use `mockgen` to generate mocks for that specific version of it, e.g. `mockgen a/vendor/somedependency`…
-
### Prerequisites
* [ X] Have you tried launching `atom .` from the terminal in your project's directory?
* [ X] Have you verified the output from `go env` is correct? If it is, please include the…
-
mockgen is currently being tested in an ad-hoc way. It needs a full and automated test suite to prevent breakages.
-
Mocking a method using `EXPECT` gives a confusing error messages when the call count for the method does not match the number of occurrences of this message in the code but the method signatures match…
-
Now that we put headers, etc. on context, we need to provide a way for users
to build fake versions of these. That is, if I have a handler,
func getValue(ctx context.Context, req *GetValueRequ…