Versions in this module Expand all Collapse all v0 v0.1.1 Jul 26, 2026 v0.1.0 Jul 20, 2026 Changes in this version + type Decoded struct + Errors int + Level Level + Mask int + Mode string + Text string + Version int + func DecodeMatrix(modules [][]bool) (*Decoded, error) + func DecodePNG(r io.Reader) (*Decoded, error) + type Level int + const High + const Low + const Medium + const Quartile + type QRCode struct + Level Level + Size int + Version int + func Encode(content string, level Level) (*QRCode, error) + func EncodeVersion(content string, level Level, version int) (*QRCode, error) + func (q *QRCode) Decode() (*Decoded, error) + func (q *QRCode) Matrix() [][]bool + func (q *QRCode) Module(x, y int) bool + func (q *QRCode) PNG(w io.Writer, moduleSize, border int) error + func (q *QRCode) String() string + func (q *QRCode) WritePNGFile(path string, moduleSize, border int) error