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

support embedded error interface in source mode#445

Merged
codyoss merged 1 commit intogolang:masterfrom
wencan:feature-20200613-source-mode-support-embedded-error
Jul 10, 2020
Merged

support embedded error interface in source mode#445
codyoss merged 1 commit intogolang:masterfrom
wencan:feature-20200613-source-mode-support-embedded-error

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants