You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add the ability to exclude interfaces, if source mode of mockgen is used.
This can be useful in the following case:
package segmentation
//go:generate mockgen -destination=segmenter_mock.go -package=segmentation -source=segmenter.go// need to exlude this interface, because it is constrainttypeSegmentinterface {
~int
}
typeSegmenter[VSegment] interface {
Segment(codestring) V
}
You can do this by passing a flag or using a comment like // gomock:exclude
The text was updated successfully, but these errors were encountered:
tulzke
pushed a commit
to tulzke/mock
that referenced
this issue
Aug 30, 2023
Please add the ability to exclude interfaces, if source mode of mockgen is used.
This can be useful in the following case:
You can do this by passing a flag or using a comment like
// gomock:exclude
The text was updated successfully, but these errors were encountered: