feat(handlers): Implement barcode generation

This commit is contained in:
2024-12-12 16:49:33 +01:00
parent b6cc98a165
commit 0f2452eca0
5 changed files with 40 additions and 20 deletions

View File

@@ -31,7 +31,7 @@ func idToEan13(id string, prefix string) (string, error) {
}
func (t *DefaultTemplater) GenerateBarcode(code string, format string, prefix string) (string, error) {
gen := &DefaultBarcodeGenerator{}
gen := &DefaultBarcodeService{}
var err error
if format == "ean13" {