Versions in this module Expand all Collapse all v1 v1.2.0 Mar 17, 2018 Changes in this version + const L1000 + const L1500 + const L200 + const L2000 + const L300 + const L500 + const L600 + const L800 + func Encode(content string, level ErrorCorrectionLevel, mode Encoding) (barcode.Barcode, error) + func Gif(content string, ecl ErrorCorrectionLevel, sideLength int, o *gif.Options) (bytes.Buffer, error) + func Img(content string, ecl ErrorCorrectionLevel, sideLength int) (barcode.Barcode, error) + func Jpeg(content string, ecl ErrorCorrectionLevel, sideLength int, o *jpeg.Options) (bytes.Buffer, error) + func Png(content string, ecl ErrorCorrectionLevel, sideLength int) (bytes.Buffer, error) + type Encoding byte + const AlphaNumeric + const Auto + const Numeric + const Unicode + func (e Encoding) String() string + type ErrorCorrectionLevel byte + const H + const L + const M + const Q + func (ecl ErrorCorrectionLevel) String() string