modulepackage
0.0.0-20210725140500-9525ec975db7
Repository: https://github.com/wamuir/svg-qr-code.git
Documentation: pkg.go.dev
# README
svg-qr-code
Description
svg-qr-code
is a Go module that encodes QR Codes in SVG format
Installation
This module can be installed with the go get
command:
go get -u github.com/wamuir/svg-qr-code
Example Usage
qr, err := qrsvg.New("https://github.com/wamuir/svg-qr-code")
if err != nil {
panic(err)
}
// qr satisfies fmt.Stringer interface (or call qr.String() for a string)
fmt.Println(qr)
Example Result
# Functions
New returns the QR for the provided string, with default settings for blocksize, borderwidth and background color.