Categorygithub.com/vyeve/go-struct-optimize
modulepackage
0.0.4
Repository: https://github.com/vyeve/go-struct-optimize.git
Documentation: pkg.go.dev

# README

Go struct optimize

This is fork from fieldalignment.

Script prints to os.Stdout optimal structure order.

Installation

    go install github.com/vyeve/go-struct-optimize

Usage

    go-struct-optimize ./...

# Packages

Package fieldalignment defines an Analyzer that detects structs that would use less memory if their fields were sorted.