-
Go Version: 1.12.1
Consul has a deep nested struct hierarchy that would be delightful to not mock manually. I think I've tried most of the permutations of options and files. Here's the repo: https:…
-
Folks, trying to generate some mocks for the AWS SQS SDK getting the `loading package failed` error
```
go version go1.12.4 darwin/amd64
mockgen -source=~/Code/go/src/github.com/aws/aws-sdk-go/…
-
`gomock` rule fails in source mode with error: `Loading input failed: could not determine GOARCH and Go compiler`.
# Versions
OS: macOS 10.14.5
Go: 1.12.5
Bazel: 0.25.2
rules_go: 0.18.5
golang…
-
"self" import is generates as `x "."`. It works in gopath and with reflection based `mockgen`.
Using `-self_package` does not affect the output.
Sample program (foo.go):
```
package foo
type …
-
when I use ```mockgen -source=./contract.go -destination=./mocks/contract_mock.go -package=mock```
to generate mock impl. The error is: Loading input failed: unsupported version of go: exit status 2:…
-
Hi, I'm trying to build terraform (the v0.11 branch) using the built-in Vagrantfile. However, it fails to build with the following (did the stringer dependency get broken?):
vagrant@terraform:/op…
-
/kind bug
**What steps did you take and what happened:**
Using bazel 0.27 run `make generate` returns the following error:
```
...
bazel build //pkg/cloud/aws/services/mocks:mocks \
…
-
Hi, I'm trying to mock s3iface, however, some methods with `aws.Context` seems to be mocked differently. Here's one example:
mock:
```
// AbortMultipartUploadWithContext mocks base method
func (…
-
DIを利用してる部分はその部分が巧みに利用できていると嬉しい。
下記テスト対象のプログラム
- `pkg/config/user/config.go`
- `server/user/connector.go`
- `server/user/server.go`
- `service/user/service.go`
`server.go`はやり方を考えないと行けない気がする。
-
When changing the `PACKAGE_VERSION` from `0.11.11` to `0.11.13` the install no longer works.
```
==> Checking that code complies with gofmt requirements...
GO111MODULE=off go get -u golang.org/x…