Versions in this module Expand all Collapse all v1 v1.1.0 May 23, 2020 Changes in this version type QRCode + func (q *QRCode) GIFLogo(size int, logoGif *gif.GIF) ([]byte, error) + func (q *QRCode) PNGWithLogo(size int, logoImage image.Image) ([]byte, error) v1.0.0 May 17, 2020 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 + BackgroundImage image.Image + Content string + DisableBorder bool + ForegroundColor color.Color + IsBackgroundGif bool + Level RecoveryLevel + LogoImage image.Image + 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) ToSmallString(inverseColor bool) string + 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