bundle swiss cross image file to avoid file system dependency

This commit is contained in:
Michael Stapelberg
2020-06-20 11:31:00 +02:00
parent aceddb388b
commit f94dc9efc6
4 changed files with 203 additions and 10 deletions

3
generate.go Normal file
View File

@@ -0,0 +1,3 @@
package qrbill
//go:generate sh -c "go run goembed.go -package qrbill -var swisscross third_party/swiss-cross/CH-Kreuz_7mm/CH-Kreuz_7mm.png > GENERATED_swisscross.go && gofmt -w GENERATED_swisscross.go"