command
module
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: Oct 3, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
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. |
Click to show internal directories.
Click to hide internal directories.