matryer / moq

Interface mocking tool for go generate
http://bit.ly/meetmoq
MIT License
1.96k stars 126 forks source link

add skip-ensure flag to avoid import cycle #140

Closed umputun closed 4 years ago

umputun commented 4 years ago

For mocks generated outside of the tested package with tests lives inside the same package as the tested code (i.e. pkg_test not used) --skip-ensure suppresses import of the source pkg to avoid import cycle

re: #139