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
src/github.com/imosquera/uploadthis/uploadthis/main.go:23: cannot use commanders (type map[string]"github.com/imosquera/uploadthis/commands".Commander) as type map[string]"github.com/imosquera/uploadthis/commands".Commander in function argument
What output do you get when running with the -raw option? This looks a bit like the error that prompted issue #11, but it's hard to say with the rewriting enabled.
I get the following error when using mocktest:
src/github.com/imosquera/uploadthis/uploadthis/main.go:23: cannot use commanders (type map[string]"github.com/imosquera/uploadthis/commands".Commander) as type map[string]"github.com/imosquera/uploadthis/commands".Commander in function argument
This corresponds to this code sgement:
https://github.com/imosquera/uploadthis/blob/command-org/uploadthis/main.go#L21
I'm not sure why it would do this at all but can't find a way around it. If i use "go build" it all compiles correctly. Any thoughts?
Note: this happens only when I "//mock" the commands package and works fine without it.
The text was updated successfully, but these errors were encountered: