You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to make a mock struct to do some testing with etcd API. But I get these errors:
./etcd_test.go:61: cannot use m (type *MockKeysAPI) as type client.KeysAPI in assignment:
*MockKeysAPI does not implement client.KeysAPI (wrong type for Create method)
have Create("golang.org/x/net/context".Context, string, string) (*client.Response, error)
want Create("github.com/coreos/etcd/vendor/golang.org/x/net/context".Context, string, string) (*client.Response, error)
I'm on Go1.6 now and using current master branch of etcd.
The text was updated successfully, but these errors were encountered:
I was trying to make a mock struct to do some testing with etcd API. But I get these errors:
I'm on Go1.6 now and using current master branch of etcd.
The text was updated successfully, but these errors were encountered: