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

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy