Versions in this module Expand all Collapse all v0 v0.2.0 Jun 11, 2026 v0.1.0 Jun 10, 2026 Changes in this version + var ErrCannotEncodeDataMatrix = errors.New("cannot encode data matrix") + var ErrCannotEncodePNG = errors.New("cannot encode png") + var ErrCannotEncodeQRcode = errors.New("cannot encode qr code") + var ErrCannotScaleBarcode = errors.New("cannot scale barcode") + type Code struct + func New() *Code + func (c *Code) GenBar(code string, _ *entity.Cell, prop *props.Barcode) (*entity.Image, error) + func (c *Code) GenDataMatrix(code string) (*entity.Image, error) + func (c *Code) GenQr(code string) (*entity.Image, error)