qrcode icon indicating copy to clipboard operation
qrcode copied to clipboard

gen qrcode and print it to console.

QRCode

a tool to generate qrcode and print it on console.

Install

go get -u github.com/qianlnk/qrcode/...

Usage

  • [ ] 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

Note

max context length is 60.