Versions in this module Expand all Collapse all v1 v1.0.1 Apr 16, 2020 v1.0.0 Dec 29, 2017 Changes in this version + func Encode(content string, level RecoveryLevel, size int) ([]byte, error) + func WriteColorFile(content string, level RecoveryLevel, size int, ...) error + func WriteFile(content string, level RecoveryLevel, size int, filename string) error + type QRCode struct + BackgroundColor color.Color + Content string + ForegroundColor color.Color + Level RecoveryLevel + VersionNumber int + func New(content string, level RecoveryLevel) (*QRCode, error) + func (q *QRCode) Bitmap() [][]bool + func (q *QRCode) Image(size int) image.Image + func (q *QRCode) PNG(size int) ([]byte, error) + func (q *QRCode) ToString(inverseColor bool) string + func (q *QRCode) Write(size int, out io.Writer) error + func (q *QRCode) WriteFile(size int, filename string) error + type RecoveryLevel int + const High + const Highest + const Low + const Medium