How to: [⏫](#contents) Detect sub-optimal struct layout with [structlayout-optimize](https://github.com/dominikh/go-tools/blob/master/cmd/structlayout-optimize)
This tool reorders struct fields to minimize the amount of padding. — [@dominikh](https://github.com/dominikh)

Requirements
```
go install https://github.com/dominikh/go-tools/blob/master/cmd/structlayout-optimize@latest
```