added constants for barcode types

This commit is contained in:
Aaron committed 2017-06-17 16:42:17 -05:00
1 parent a4f901055a
commit 2e13775dbc
11 files changed
+32 -16

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ type pdfBarcode struct {
}
func (c *pdfBarcode) Metadata() barcode.Metadata {
return barcode.Metadata{"PDF417", 2}
return barcode.Metadata{barcode.TypePDF, 2}
}
func (c *pdfBarcode) Content() string {