Skip to content
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

feat: add new rule check for passing large structs to func receivers #1068

Open
geraldywy opened this issue Aug 30, 2021 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@geraldywy
Copy link

There is hugeParam rule for passing large structs to func params but none that I am aware of for passing large structs to func receivers. Eg for a linter that does this: https://github.com/geraldywy/go-refcheck

Would this be a good addition?

@cristaloleg cristaloleg added the enhancement New feature or request label Feb 24, 2023
@cristaloleg
Copy link
Member

Yeah, hugeParam can be extended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants