-
I'm evaluating Counterfeiter as compared to mockery, mockgen, etc. Something I noticed is that this invocation:
```
$ counterfeiter . XYZClient - > /tmp/z
```
Produces a file ending with a dia…
-
Mocking a method with int and string parameters generates a mock that does not expect those types. However, if both parameters are of type string, it works properly.
##### output
```
alem@alem-vm:~/W…
-
Now that GOROOT is not available in the toolchain under toolcain.paths.root.path what is the correct way to get the GOROOT?
Both go_context.go.short_path & go_context.root seems to return the root …
-
Hi, rules_go maintainers
I've used bazel + rules_go in my company for about 8 months (since from it was in tools/build_rules). In general I am very satisfied with using bazel to build our highly co…
-
This is a weird one. Most generated files seem to be correctly skipped, but one doesn't:
```
$ golangci-lint run --fast
mocks/ec2api.go:304:22: method AssignPrivateIpAddresses should be AssignPri…
-
Writing mocks for each test is tedious, setup mockgen to create the necessary mocks (preferably using comments in the files), refactor the tests to use the generated mocks, and create a make target in…
-
### What version of `dep` are you using (`dep version`)?
0.3.1, and master (82b390843af758fd609059154481ddd2f83b1e5d), fetched using go get and built using golang 1.8-1 as shipped with Debian/stretch…
hillu updated
5 years ago
-
The mockgen need to be installed instead of dowloaded and is necessary to have sudo permissions on default go installation.
`sudo go install github.com/golang/mock/mockgen`
I can do a pull reque…
-
https://github.com/natalymr/gcm/blob/master/naive_naive/naive.py -- скрипт для подсчета результатов
-
We would like to "vendorize" `mockgen` in our project, in order to freeze the version we are using and prevent unexpected breakages. We already do this with `gomock` for the same reason. We use [`gove…