Fix codabar generation
This commit is contained in:
parent
0b2effd135
commit
5e1cf45c58
@ -8,7 +8,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func generateCodabar(parameters Parameters) (barcode.Barcode, error) {
|
func generateCodabar(parameters Parameters) (barcode.Barcode, error) {
|
||||||
codabarItem, err := codabar.Encode(parameters.Content)
|
codabarItem, err := codabar.Encode("A" + parameters.Content + "B")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Error creating Barcode", err)
|
fmt.Println("Error creating Barcode", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user