Versions in this module Expand all Collapse all v0 v0.2.0 Aug 19, 2026 v0.1.0 Aug 17, 2026 Changes in this version + const Aztec + const Codabar + const Code128 + const Code39 + const Code93 + const DataMatrix + const EAN13 + const EAN8 + const ITF + const ITF14 + const PDF417 + const QR + const TwoOfFive + const UPCA + const UPCE + var ErrDataTooLong = errors.New("data too long for this symbology") + var ErrInvalidData = errors.New("data invalid for this symbology") + var ErrUnavailable = errors.New("symbology unavailable in this build") + var ErrUnknownSymbology = errors.New("unknown symbology") + var ErrUnsupportedOption = errors.New("option not supported by this symbology") + func Names() []string + func Register(e Encoder) + func RegisterUnavailable(caps Capabilities) + type Capabilities struct + Available bool + Charset string + ECCLevels []string + FixedLengths []int + HRI bool + Kind Kind + MaxLength int + Name string + Notes string + QuietZone int + Reason string + Title string + func All() []Capabilities + type EncodeOpts struct + ECC string + Mask int + QuietZone int + Version int + func AutoEncodeOpts() EncodeOpts + type Encoder interface + Caps func() Capabilities + Encode func(data string, o EncodeOpts) (Matrix, error) + Name func() string + func Get(name string) (Encoder, error) + type Kind string + const Kind1D + const Kind2D + type Matrix struct + Cols int + HRI string + Kind Kind + QuietZone int + Rows int + Symbology string + func NewMatrix(cols, rows int) Matrix + func (m Matrix) At(x, y int) bool + func (m Matrix) Dark() int + func (m Matrix) Modules() []bool + func (m Matrix) Set(x, y int, dark bool) + func (m Matrix) String() string