datamatrix

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2025 License: MIT Imports: 6 Imported by: 144

Documentation

Overview

Package datamatrix can create Datamatrix barcodes

Index

Constants

View Source
const FNC1 byte = 232

FNC1 is the codeword for the Function 1 Symbol Character to differentiate a GS1 DataMatrix from other Data Matrix symbols.

It is used as both a start character and a separator of GS1 element strings.

Variables

This section is empty.

Functions

func Encode

func Encode(content string) (barcode.Barcode, error)

Encode returns a Datamatrix barcode for the given content

func EncodeWithColor added in v1.1.0

func EncodeWithColor(content string, color barcode.ColorScheme) (barcode.Barcode, error)

Encode returns a Datamatrix barcode for the given content and color scheme

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL