Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Source mode not support embedded error interface #446

Closed
wencan opened this issue Jun 13, 2020 · 0 comments
Closed

Source mode not support embedded error interface #446

wencan opened this issue Jun 13, 2020 · 0 comments

Comments

@wencan
Copy link
Contributor

wencan commented Jun 13, 2020

I have a interface, like:

type NotFound interface {
	error
	NotFound()
}

When I execute mockgen PackageName NotFound, It's OK.
When I execute mockgen -source xxx.go, got error:

unknown embedded interface error

I have submitted a new Pull Request #445 to solve this problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant