Terminal Writer is a writer that is used to draw QR Code image into terminal.
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)
}
}
🤪 Do not support any option yet.