Versions in this module Expand all Collapse all v1 v1.0.0 Dec 3, 2021 Changes in this version + var ErrMissingInvoiceTotal = errors.New("missing `InvoiceTotal`") + var ErrMissingSellerName = errors.New("missing `SellerName`") + var ErrMissingSellerTaxNumber = errors.New("missing `SellerTaxNumber`") + var ErrMissingTimestamp = errors.New("missing `Timestamp`") + var ErrMissingTotalVAT = errors.New("missing `TotalVAT`") + var ErrSellerNameTooLong = errors.New("`SellerName` is too long") + var ErrSellerTaxNumberTooLong = errors.New("`SellerTaxNumber` is too long") + func EncodeTLV(d Data) (string, error) + type Data struct + InvoiceTotal float64 + SellerName string + SellerTaxNumber string + Timestamp time.Time + TotalVAT float64 + func DecodeTLV(hash string) (*Data, error) + func (d Data) String() string + func (i Data) Validate() error