Registry / utility / mdempsky-maligned

mdempsky-maligned

JSON →
library0.0.0-20220203220013-d7cd9a96ae47gogounverified

A Go static analysis tool to detect struct fields that could be reordered to reduce memory alignment waste.

go get github.com/mdempsky/maligned
INSTALL
IMPORT
SIG · MDEMPSKY-MALIGNED
M
mdempsky-maligned
utilitygov0.0.0-20220203220013-d7cd9a96ae47
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.

maligned
github.com/mdempsky/maligned

Run maligned analysis on the current package.

package main import ( "fmt" "github.com/mdempsky/maligned" ) func main() { // maligned is typically used as a command-line tool, not a library. // This example shows how to run it programmatically. result, err := maligned.Check("./...") if err != nil { panic(err) } for _, r := range result { fmt.Printf("%s: %s\n", r.Pos, r.Message) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20220203220013-d7cd9a96ae47latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mdempsky-maligned — go get mdempsky-maligned · libregistry