uber-go / mock

GoMock is a mocking framework for the Go programming language.
Apache License 2.0
2.12k stars 109 forks source link

Code generated by mockgen on Windows should not be different #118

Closed craig65535 closed 10 months ago

craig65535 commented 10 months ago

Code generated by mockgen on Windows machines has a different header comment from code generated on other platforms.

@@ -3,7 +3,7 @@
 //
 // Generated by this command:
 //
-//     mockgen -destination=mock_downloader.go -package downloader . Downloader
+//     mockgen.exe -destination=mock_downloader.go -package downloader . Downloader
 //
 // Package downloader is a generated GoMock package.
 package downloader
r-hang commented 10 months ago

https://github.com/uber-go/mock/pull/119 has been merged.