File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ older Go versions, use the pre-built binaries published with
2828
2929```
3030moq [flags] source-dir interface [interface2 [interface3 [...]]]
31-
3231 -fmt string
3332 go pretty-printer: gofmt, goimports or noop (default gofmt)
3433 -out string
@@ -37,15 +36,17 @@ moq [flags] source-dir interface [interface2 [interface3 [...]]]
3736 package name (default will infer)
3837 -rm
3938 first remove output file, if it exists
39+ -skip-ensure
40+ suppress mock implementation check, avoid import cycle if mocks generated outside of the tested package
4041 -stub
4142 return zero values when no mock implementation is provided, do not panic
42- -skip-ensure
43- suppress mock implementation check, avoid import cycle if mocks
44- generated outside of the tested package
45- -with-resets
46- generate functions to facilitate resetting calls made to a mock
43+ -version
44+ show the version for moq
45+ -with-resets
46+ generate functions to facilitate resetting calls made to a mock
4747
4848Specifying an alias for the mock is also supported with the format 'interface:alias'
49+
4950Ex: moq -pkg different . MyInterface:MyMock
5051```
5152
You can’t perform that action at this time.
0 commit comments