mockery
mockery copied to clipboard
Ignroign private interfaces in mock generation
Hello,
I would like to ask is there a possibility to do ignore interfaces that is package private (starting with lowercase) when all options is selected.
My configuration file looks as follow:
quiet: False
all: True
case: underscore
outpkg: mypackagename
And I would like to ignore following package private mock:
type privateDetector interface {
detect() (string, error)
}
I'm implementing a general change freeze to version 2 unless there is substantial benefits to be gained. This is something that we can apply to version 3. I will add it to the list :)
It seems reasonable to me. Thanks for fast response.
Can version 2 be unfrozen after 2 years of no version 3?
I've gone back on "freezing" v2 as clearly we've been implementing a lot of features. I've modified our feature-addition strategy, so yes please feel free to add a PR if you still want this added! I'm marking this as an "approved feature."