package
0.0.0-20240819164739-f47aed85de5a
Repository: https://github.com/unix-world/smartgo.git
Documentation: pkg.go.dev

# README

svg-qr-code

Go Reference Build Status codecov Go Report Card

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

Quick Response (QR) Code

# Functions

New returns the QR for the provided string, with default settings for blocksize, borderwidth and background color.

# Structs

No description provided by the author
QR holds a QR Code (from github.com/unix-world/smartgo/markup/svg-qrcode) and SVG settings.
Block is a color block in the rendered QR code.
SVG is the vector representation of a QR code, as a Go struct.