switch to gozxing for visual similarity with SIX reference impl

The SIX reference implementation in Java that can be found at
https://www.paymentstandards.ch/dam/downloads/qrcodegenerator.java
uses the zxing library to generate their QR codes.

zxing is also available as a Go version, which we now use.
This means the QR codes can be compared visually to the reference.
This commit is contained in:
Michael Stapelberg
2020-11-07 13:11:34 +01:00
parent 6bc1ad3197
commit 11ded9c5ab
3 changed files with 22 additions and 8 deletions

3
go.mod
View File

@@ -7,6 +7,9 @@ require (
github.com/ajstarks/svgo v0.0.0-20200320125537-f189e35d30ca
github.com/boombuler/barcode v1.0.0
github.com/davecgh/go-spew v1.1.1
github.com/makiuchi-d/gozxing v0.0.0-20200903113411-25f730ed83da
github.com/mattn/go-isatty v0.0.12
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
golang.org/x/text v0.3.4 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
)