twooffive

package
v0.0.0-...-5d8e3e1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: BSD-3-Clause, MIT Imports: 4 Imported by: 0

Documentation

Overview

Package twooffive can create interleaved and standard "2 of 5" barcodes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCheckSum

func AddCheckSum(content string) (string, error)

AddCheckSum calculates the correct check-digit and appends it to the given content.

func Encode

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

Encode creates a codabar barcode for the given content

func EncodeWithColor

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

Encode creates a codabar 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