gopass: github.com/justwatchcom/gopass/pkg/qrcon Index | Examples | Files

package qrcon

import "github.com/justwatchcom/gopass/pkg/qrcon"

Package qrcon implements a QR Code ANSI printer for displaying QR codes on the console.

Index

Examples

Package Files

qrcon.go

func QRCode Uses

func QRCode(content string) (string, error)

QRCode returns a string containing an ANSI encoded QR Code

Code:

code, err := QRCode("foo")
if err != nil {
    panic(err)
}
fmt.Println(code)

Package qrcon imports 4 packages (graph) and is imported by 1 packages. Updated 2020-06-01. Refresh now. Tools for package owners.