Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

or at least Linter should catch this

https://golangci-lint.run/docs/linters/



I think it's really beyond the power of a linter to understand when this would matter. It'd be issuing warnings on almost every struct out there saying "these two members share a cache line" which you almost never care about.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: