https://github.com/wamuir/svg-qr-code
Scalable Vector Graphics (SVG) encoding of QR Codes
https://github.com/wamuir/svg-qr-code
golang qrcode svg
Last synced: 2 months ago
JSON representation
Scalable Vector Graphics (SVG) encoding of QR Codes
- Host: GitHub
- URL: https://github.com/wamuir/svg-qr-code
- Owner: wamuir
- License: mit
- Created: 2020-10-26T17:57:02.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-25T14:04:28.000Z (almost 4 years ago)
- Last Synced: 2025-05-08T22:44:18.005Z (2 months ago)
- Topics: golang, qrcode, svg
- Language: Go
- Homepage: https://godoc.org/github.com/wamuir/svg-qr-code
- Size: 30.3 KB
- Stars: 10
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
svg-qr-code
=====[](https://pkg.go.dev/github.com/wamuir/svg-qr-code)
[](https://github.com/wamuir/svg-qr-code/actions/workflows/go.yml?query=event%3Apush+branch%3Amain)
[](https://codecov.io/gh/wamuir/svg-qr-code)
[](https://goreportcard.com/report/github.com/wamuir/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
```go
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
