-
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…
-
When I do a `QueryRow()` query, the `Scan()` panics with this error:
index out of range [-1]
This seem to be related to this line [72](https://github.com/driftprogramming/pgxpoolmock/blob/m…
-
This is with HEAD and bazel 0.28.1.
bazel_gomock with the `source` parameter (which is the set to the target of a specific file in a user's project) is no longer working. It seems that where, previ…
-
The https://github.com/golang/mock repo is unmaintained and has been archived. They promote https://github.com/uber/mock instead.
> Update, June 2023: This repo and tool are no longer maintained. …
-
```
Can we get a good example in the repository? The code in the sample/ dir
doesn't compile properly:
1001)~ % cd Software/go/src/pkg/gomock.googlecode.com/hg/sample
1002)hg/sample % mockgen --so…
-
預計整理以下內容變成一篇新手學 golang 注意到的地方
[Q1 - variable scope in for statement](https://github.com/Yu-Jack/yu-jack.github.io/issues/9#issuecomment-986176356)
[Q2 - Interface & Receiver](https://github.com/Yu…
-
### What version of trpc-cmdline are you using?
v1.0.9
### Does this issue reproduce with the latest release?
yes
### What operating system and processor architecture are you using (`go en…
-
> Topic:
about go test,including unit test and integration
> TODO list:
- [ ] unit test
- [ ] integration test
> Refer:
- [goconvey](https://github.com/smartystreets/goconvey)
…
-
### Requested feature
A `In([]T)` matcher which returns true if it matches one of the given value.
For Example:
```go
m.
EXPECT().
CheckIsFruit(gomock.In([]string{"Apple", "Banan…
-
Is it possible to generate unexported mock types? i.e
input:
```go
package user
type userRepo interface {}
```
output:
```go
package user
type mockUserRepo struct {}
```
This way …