Documentation ¶ Overview ¶ qrutil provides wrapper functions for https://github.com/skip2/go-qrcode Index ¶ func New(opts qrcode.QRCode) (*qrcode.QRCode, error) func NewImage(opts qrcode.QRCode, size int) (image.Image, error) func WritePNG(filename string, opts qrcode.QRCode, pixels int) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(opts qrcode.QRCode) (*qrcode.QRCode, error) New creates a new `*qrcode.QRCode` using `qrcode.QRCode` as the request parameter. `Content` is qrcode value. `ForegroundColor` and `BackgroundColor` are `color.Color`. `Level` is in [`qrcode.Low`,`Medium`,`High`,`Highest`]. func NewImage ¶ func NewImage(opts qrcode.QRCode, size int) (image.Image, error) func WritePNG ¶ func WritePNG(filename string, opts qrcode.QRCode, pixels int) error Types ¶ This section is empty. Source Files ¶ View all Source files qrcode.go Click to show internal directories. Click to hide internal directories.