internal/

directory
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: MIT

Directories

Path Synopsis
Package align runs the upstream fieldalignment analyzer over a Target and returns the suggested struct reorderings as data (no rendering).
Package align runs the upstream fieldalignment analyzer over a Target and returns the suggested struct reorderings as data (no rendering).
Package app parses flags, wires the loader/aligner/inspector/printer, and orchestrates a structalign run.
Package app parses flags, wires the loader/aligner/inspector/printer, and orchestrates a structalign run.
Package layout computes the memory layout of named structs in a Target, returning the per-field offset/size/align/padding as data (no rendering).
Package layout computes the memory layout of named structs in a Target, returning the per-field offset/size/align/padding as data (no rendering).
Package loader resolves Go package patterns into typed common.Targets using golang.org/x/tools/go/packages.
Package loader resolves Go package patterns into typed common.Targets using golang.org/x/tools/go/packages.
Package match implements the -type glob filtering: parsing the comma-separated pattern list and testing a type name against it.
Package match implements the -type glob filtering: parsing the comma-separated pattern list and testing a type name against it.
Package sizes adapts go/types sizing to the common.Sizes interface, so the target architecture can be injected (real sizes in production, a fixed amd64 sizer in tests).
Package sizes adapts go/types sizing to the common.Sizes interface, so the target architecture can be injected (real sizes in production, a fixed amd64 sizer in tests).
Package testutil provides shared test helpers.
Package testutil provides shared test helpers.
Package textdiff produces a line-level edit script (equal/del/add) for two slices of lines, delegating the diff to github.com/aymanbagabas/go-udiff.
Package textdiff produces a line-level edit script (equal/del/add) for two slices of lines, delegating the diff to github.com/aymanbagabas/go-udiff.
Package ui renders findings and layouts as terminal output (unified / side-by-side / proposed-only diffs and annotated layout).
Package ui renders findings and layouts as terminal output (unified / side-by-side / proposed-only diffs and annotated layout).

Jump to

Keyboard shortcuts

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