New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linter complains on code in generated Equal implementation #360
Comments
My pleasure :) Is this the only remark the linter had? |
Also it doesn't like repeated string literals in |
I would be willing to review the code if you are willing to make a pull request to fix these, if possible? |
|
On p.In and p.Out. |
Understood. Have a great time. |
I hope it makes sense. |
#perfmatters yo 👍 |
@shurcooL I did not run gosimple at all. It's done by gometalinter. It is quite possible that my gometalinter (with vendored linters) is too old to skip generated files. Anyway I'm quite happy that it checked and I had pleasure to get familiar with gogoprotobuf internals and remove ~4000 lines from tests fixtures. |
I see, thanks. I agree that this |
Exactly. I am open to generate more lintable code, but I will take it case by case. |
First, huge thanks for improved protobuf.
Code generated by gogo/slick:
gosimple
linter complain:Generated code could be reduced down to:
Thanks for gogo/protobuf. Have a great time.
The text was updated successfully, but these errors were encountered: