Closed guoshengcc closed 3 years ago
Can you please provide a code snippet. I am unable to reproduce this currently.
Hi, this is my code. I tried again and still got the same error. In the readme file in my project, I provided detailed information, hoping to provide valid content
I tried running your exact project on windows and macos and was unable to reproduce. This package makes use of Go's flag package so it should be handling both forms just fine. My best guess is it is something related to your shell. Do you use anything non-standard? Do you have problems with other Go programs that use the flag package?
Closing due to lack of response. Please feel free to update if there is more to share.
I am use This command
mockgen -source=gomockdemo.go
get a error msg:Loading input failed: loading package failed
Then,In same env , use This comand
mockgen -source gomockdemo.go
,It work right. I am delete the '='Additional Information
Triage Notes for the Maintainers