Structlayout
Tools
- staticcheck - Go static analysis, detecting bugs, performance issues, and much more.
- structlayout - Displays the layout (field sizes and padding) of structs.
- structlayout-optimize - Reorders struct fields to minimize the amount of padding.
- structlayout-pretty - Formats the output of structlayout with ASCII art.