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

support embedded error interface in source mode #445

Conversation

wencan
Copy link
Contributor

@wencan wencan commented Jun 13, 2020

example:

new a interface:

type NotFound interface {
	error
	NotFound()
}

execute mockgen -source xxx.go

Copy link
Member

@codyoss codyoss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution.

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

Successfully merging this pull request may close these issues.

2 participants