codegen

package module
v0.0.0-...-e2bb7be Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 8 Imported by: 0

README

codegen

Small util to generate DataMatrix code from sgtin for testing

Documentation

Index

Constants

View Source
const DefaultFileName = "codes.txt"
View Source
const DefaultOutputDir = "codes"
View Source
const DefaultTail = "910bad92YntF8eliG9/1KohpDEKWt8/Q7Zm1LkcMJaLdWml5IoOf"
View Source
const GtinId = "01"
View Source
const SerialId = "21"

Variables

This section is empty.

Functions

func CreateCode

func CreateCode(code string) string

func CreateTail

func CreateTail() string

func GenerateAndSave

func GenerateAndSave(fileName string)

func LoadFile

func LoadFile(fileName string) []string

func ScanGtin

func ScanGtin(code string) string

func ScanSerial

func ScanSerial(code string) string

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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