Y
Hacker News
new
|
ask
|
show
|
jobs
by
truth_seeker
250 days ago
or at least Linter should catch this
https://golangci-lint.run/docs/linters/
1 comments
CamouflagedKiwi
250 days ago
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.
link