Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
cannot use func literal (type
func("".Arguments) bool
) as type
func( "".Arguments) bool
in argument to drc.Spy.MatchMethod
My spies package ( leverages testify/mock, because the interfaces are similar.
Because I'm using my local copy of `spies` and also have vendored testify/mock, I get this conflict.
The solution is to vendor my spies package, which is inconvenient when trying to develop the support package in tandem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.