-
"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 …
-
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…
-
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:…
-
/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 (…
-
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…
-
DIを利用してる部分はその部分が巧みに利用できていると嬉しい。
下記テスト対象のプログラム
- `pkg/config/user/config.go`
- `server/user/connector.go`
- `server/user/server.go`
- `service/user/service.go`
`server.go`はやり方を考えないと行けない気がする。
-
I am seeing:
```
(14:16:19) ERROR: /home/markus/Projects/github.com/ecosia/core/heimdall/client-go/BUILD.bazel:17:1: error executing shell command: '/bin/bash -c
source
-
Great library @elliotchance !
I was wondering why arguments are not forwarded in `cmdable.go`?
I wanted to write expected calls to even match the arguments to make sure everything is forwared t…
-
is there any way to generate mock only for exported interface?