make format=txt display the textual QR code contents

This allows for easy comparison with QR codes extracted from PDFs:

pdfimages -png invoice.pdf invoice && \
  zbarimg --raw invoice*.png > code.txt
This commit is contained in:
Michael Stapelberg
2022-07-17 09:16:53 +02:00
parent 0fcc077935
commit 05d1f60c14
4 changed files with 7 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
// copied from https://github.com/dsymonds/goembed/ with pull requests applied
//go:build ignore
// +build ignore
// goembed - Embed data in Go source code