svg-qr-code
is a Go module that encodes QR Codes in SVG format
This module can be installed with the go get
command:
go get -u github.com/wamuir/svg-qr-code
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)