pibigstar / qrcode

gen qrcode and print it to console.

Repository from Github https://github.compibigstar/qrcodeRepository from Github https://github.compibigstar/qrcode

QRCode

fork: https://github.com/qianlnk/qrcode add use mod

a tool to generate qrcode and print it on console.

Install

go get -u github.com/pibigstar/qrcode

Usage

  • cmd
qrcode 'https://github.com/pibigstar/qrcode'
  • package
package main

import (
	"github.com/pibigstar/qrcode"
)

func main() {
	qr := qrcode.NewQRCode("https://github.com/pibigstar/qrcode", false)
	qr.Output()
}
  • result

Note

max context length is 60.

About

gen qrcode and print it to console.


Languages

Language:Go 100.0%