go-struct-optimize

command module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

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 ./...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL