Skip to content

Han-Ya-Jun/qrcode2console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qrcode2console

链接生成二维码输出到console或者是二维码图片输出到console

安装

go get -u github.com/Han-Ya-Jun/qrcode2console

示例

func TestNewQRCode2ConsoleWithUrl(t *testing.T) {
	qr := NewQRCode2ConsoleWithUrl("https://hanyajun.com", true)
	//qr.Debug()
	qr.Output()
}

func TestNewQRCode2ConsoleWithPath(t *testing.T) {
	qr := NewQRCode2ConsoleWithPath("qrcode.jpg")
	//qr.Debug()
	qr.Output()
}

效果

image image

About

链接生成二维码输出到console或者是二维码图片输出到console

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages