Registry / utility / orijtech-structslop

orijtech-structslop

JSON →
library0.0.8gogounverified

A Go linter that detects struct fields that could be reordered to reduce memory usage by minimizing padding.

go get github.com/orijtech/structslop
INSTALL
IMPORT
SIG · ORIJTECH-STRUCTSLO
O
orijtech-structslop
utilitygov0.0.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

structslop
github.com/orijtech/structslop

Demonstrates analyzing a struct for memory layout optimization.

package main import ( "fmt" "github.com/orijtech/structslop" ) func main() { // Example usage: analyze a struct definition fmt.Println(structslop.Analyze("MyStruct", []byte("..."))) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.8latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
orijtech-structslop — go get orijtech-structslop · libregistry