-
1. template code
```go
package mock
import "github.com/songzhibin97/gkit/timeout"
type TestInterface interface {
Call() Generics[timeout.DbJSON]
}
type Generics[T any] struct {
generic…
-
Hey first of all thanks for this great mock library. I'm trying to port my mocks from mockgen to use ensure. I have two issues I need help with to do it:
1. Mocks with Ensure do now allow me to ove…
-
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
6 years ago
-
**Actual behavior** A clear and concise description of what the bug is.
The package alias produced by mockgen is variable for the same inputs. Specifically, sometimes we see
`extract "github.com/…
-
This appears to only affect reflect mode. Source mode works correctly. It may be that this bug exists because type aliases are not available through reflection. If that is the case, feel free to close…
-
I would like to share my experience for working with `mockgen`.
In my project I have several files that I would like to generate mocks and thus I have created a bash script to automate the operatio…
-
If I derive a type from a core type and use that in my expectations, tests start failing where they didn't before, even where the inputs have not changed. I've only tested this with a `map`.
Below …
-
I'm too sleepy (it's 6AM here), so I didn't actually tried to understand the code, sorry. But this quick hack looks like works around code generation in ./workers:
```diff
diff --git a/workers/siz…
-
我在尝试构建vldb的测试镜像,都是无法成功,这似乎是连接问题,请问有什么办法解决吗
```
zhuang@zhuang-virtual-machine:~/workplace/scql$ sudo bash docker/build.sh -c -t vldb
+++ dirname docker/build.sh
++ cd docker
++ pwd
+ SCRIPT_DIR=/…
-
**Is your feature request related to a problem? Please describe.**
"Go To Implementations" is a great feature to navigate through your code that uses interfaces heavily. I'm suggesting a basic heuris…