Skip to content

Commit 7c5344d

Browse files
committed
Add -write_source_comment flag description
1 parent 9c47643 commit 7c5344d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ It supports the following flags:
113113

114114
- `-write_package_comment`: Writes package documentation comment (godoc) if true. (default true)
115115

116+
- `-write_source_comment`: Writes original file (source mode) or interface names (reflect mode) comment if true. (default true)
117+
116118
- `-typed`: Generate Type-safe 'Return', 'Do', 'DoAndReturn' function. (default false)
117119

118120
For an example of the use of `mockgen`, see the `sample/` directory. In simple

0 commit comments

Comments
 (0)