Package structslop defines an Analyzer that checks struct can be re-arranged fields to get optimal struct size.
go get github.com/orijtech/structslop/cmd/structslopGo 1.15+
Add test case to testdata/src/struct directory, then run:
go testTODO