-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added ignoring interfaces if they have a comment "gomock:ignore" (#68)
- Loading branch information
Showing
3 changed files
with
145 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package ignore | ||
|
||
//go:generate mockgen -source=interfaces.go -destination=mock.go -package=ignore | ||
|
||
//gomock:ignore | ||
type IgnoreMe interface{} | ||
|
||
//gomock:ignore | ||
type ( | ||
IgnoreMe2 interface{} | ||
) | ||
|
||
type ( | ||
//gomock:ignore | ||
IgnoreMe3 interface{} | ||
) | ||
|
||
// GenerateMockForMe some interface | ||
type GenerateMockForMe interface { | ||
B() bool | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters