package
1.8.0
Repository: https://github.com/1pkg/gopium.git
Documentation: pkg.go.dev

# Functions

Align returns the smallest y >= x such that y % a == 0.
CopyField defines helper that deep copies provided field.
CopyStruct defines helper that deep copies provided struct.
NewHierarchic creates new hierarchic collection with root category.
NewReference creates reference instance accordingly to passed nil flag.
PadField defines helper that creates pad field with specified size.
SizeAlignPtr calculates sturct aligned size, size and ptr size by using walk struct helper.
WalkStruct iterates over structure fields with optional system align and calls on pad fields callback for all pads and fields.

# Structs

Boundary defines sorted pos pair type.
Hierarchic defines strucs hierarchic collection which is categorized by pair of loc and id.
Reference defines backreference helper that helps to set, and get wait for key value pairs.

# Type aliases

Boundaries defines ordered set of boundary.
Flat defines strucs flat collection which is categorized only by id.
OnPadFields defines pad fields callback that accepts pad and optional list of following structure fields.