barcode

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateQR

func GenerateQR(data string, level QRECLevel, scale int) (image.Image, error)

GenerateQR encodes data as a QR code image

Types

type QRECLevel

type QRECLevel int
const (
	QRECDefault QRECLevel = iota
	QRECLow
	QRECMedium
	QRECQuartile
	QRECHigh
)

Jump to

Keyboard shortcuts

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