added constants for barcode types
This commit is contained in:
1 parent
a4f901055a
commit
2e13775dbc
11 files changed
+32
-16
No files matched your search
+1
-1
@@ -102,7 +102,7 @@ func Encode(content string, includeChecksum bool, fullASCIIMode bool) (barcode.B
|
||||
}
|
||||
result.AddBit(true)
|
||||
|
||||
return utils.New1DCode("Code 93", content, result), nil
|
||||
return utils.New1DCode(barcode.TypeCode93, content, result), nil
|
||||
}
|
||||
|
||||
func getChecksum(content string, maxWeight int) rune {
|
||||
|
||||
Reference in new issue
Block a user