aztec

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: 137

Documentation

Overview

Package aztec can create Aztec Code barcodes

Index

Constants

View Source
const (
	DEFAULT_EC_PERCENT = 33
	DEFAULT_LAYERS     = 0
)

Variables

This section is empty.

Functions

func Encode

func Encode(data []byte, minECCPercent int, userSpecifiedLayers int) (barcode.Barcode, error)

Encode returns an aztec barcode with the given content

func EncodeWithColor added in v1.1.0

func EncodeWithColor(data []byte, minECCPercent int, userSpecifiedLayers int, color barcode.ColorScheme) (barcode.Barcode, error)

Encode returns an aztec barcode with 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