We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generating mock for: ConsulLock Unable to generated mock for 'ConsulLock': unable to handle type: &ast.StructType{Struct:119, Fields:(*ast.FieldList)(0xc82024d440), Incomplete:false}
The text was updated successfully, but these errors were encountered:
this is the definition of the struct it was trying to mock:
type ConsulLock interface { Lock(<-chan struct{}) (<-chan struct{}, error) Unlock() error }
Sorry, something went wrong.
Same here. @vrecan have you found solution for that?
I ended up going with https://github.com/golang/mock instead. I could never get mockery to work.
84d7661
No branches or pull requests
Generating mock for: ConsulLock
Unable to generated mock for 'ConsulLock': unable to handle type: &ast.StructType{Struct:119, Fields:(*ast.FieldList)(0xc82024d440), Incomplete:false}
The text was updated successfully, but these errors were encountered: