...

Package twooffive

import "github.com/boombuler/barcode/twooffive"
Overview
Index

Overview ▾

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

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