gostructor

Supported field types

Numeric conversions are exact: a fractional float into an integer field (3.9int), a value that overflows the field’s width (300int8), a negative number into an unsigned field, and non-finite floats are all hard errors — never silent truncation or wraparound. A conversion failure is reported as a *ConvertError (see limitations.md).