Skip to content

qianlnk/qrcode

Repository files navigation

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.

About

gen qrcode and print it to console.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages