-
*Requested feature*
Mockgen supports creating `github.com/golang/mock/mockgen/model.Interface` models from `reflect.Type` data using
https://github.com/golang/mock/blob/6d816de489c18a7e9a8fbd2aa5bb…
-
We are receiving this TODO while trying to generate some mocks.
Funny thing is, it works for a vararg version of this function, but not a slice version of it.
It works for this:
```go
type Pr…
-
*Requested feature*
Document _why_ a user should choose the source or reflect mode.
*Why the feature is needed*
The README states:
> mockgen has two modes of operation: source and reflect.…
-
Hey team,
Hope you are doing well.
Stumbled upon on [this](https://github.com/golang/mock/issues/621) issue. In code as well as on the archived repo.
To not copy paste too much, is this perhaps …
-
@plakhotnii @codyoss
`go list` is quite slow because it has to download external dependencies. This becomes more problematic under Bazel execution environment when GOCACHE is not available (https:…
-
Is there a way to mock a system package, e.g. net.Addr?
Manually, I would run the following command:
`mockgen -destination=addr.go net Addr`
In bazel_gomock, however, the source is a bazel ta…
-
Current versions of mockgen (and probably other tools) generate code with imports like:
```
import (
x "."
...
)
```
That isn't allowed by rules_go's strict dependencies check, but doesn'…
-
- [awesome](https://awesome-go.com/)
## practice
1. gin module: [oneid-aacs](https://github.com/micro-services-roadmap/oneid-aacs)
2. gin with auth & permission: [gav-server](https://github.com…
-
**Actual behavior**
Typing for nested generic interface is scoped to package the interface belongs to and not the pkgs the type belongs to.
Here is a complete example: https://github.com/bradle…
-
panic: runtime error: index out of range
goroutine 1 [running]:
github.com/windmilleng/mish/mish.(*scrollCanvas).RenderAt(0xc4201aac00, 0x0, 0x20, 0x9)
/Users/nick/go/src/github.com/windmilleng/…
nicks updated
5 years ago