Add checksum calculation to relevant barcode types
This commit is contained in:
1 parent
63f4aa2c46
commit
7435af80e5
10 files changed
+36
-10
No files matched your search
@@ -134,5 +134,5 @@ func Encode(content string, interleaved bool) (barcode.Barcode, error) {
|
||||
if interleaved {
|
||||
kindTxt = " (interleaved)"
|
||||
}
|
||||
return utils.New1DCode("2 of 5"+kindTxt, content, resBits), nil
|
||||
return utils.New1DCode("2 of 5"+kindTxt, content, resBits, -1), nil
|
||||
}
|
||||
Reference in new issue
Block a user