a tool to generate qrcode and print it on console.
go get -u github.com/qianlnk/qrcode/...
- cmd
qrcode 'https://github.com/qianlnk/qrcode'
- package
package main
import (
"github.com/qianlnk/qrcode"
)
func main() {
qr := qrcode.NewQRCode("https://github.com/qianlnk/qrcode", false)
qr.Output()
}
- result
max context length is 60.