package
module
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Nov 15, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
Terminal
Standard Writer is a writer that is used to draw QR Code image into terminal.
Usage
package main
import (
"github.com/yeqown/go-qrcode/v2"
"github.com/yeqown/go-qrcode/writer/terminal"
)
func main() {
qrc, _ := qrcode.New("withTerminalWriter")
w := terminal.New()
if err := qrc.Save(w); err != nil {
panic(err)
}
}
Option
🤪 Do not support any option yet.
Documentation
¶
Writer implements qrcode.Writer based on termbox to print QRCode into
terminal / console.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.