Update godoc comment of EncodeWithColor methods

This commit is contained in:
zhaori96 committed 2024-08-01 09:02:23 -03:00
1 parent 1c8224977e
commit b1129f9d8b
9 files changed
+10 -8

No files matched your search

+1 -1
View File
@@ -157,7 +157,7 @@ func encodeEAN13(code string) *utils.BitList {
return result
}
// Encode returns a EAN 8 or EAN 13 barcode for the given code
// Encode returns a EAN 8 or EAN 13 barcode for the given code and color scheme
func EncodeWithColor(code string, color barcode.ColorScheme) (barcode.BarcodeIntCS, error) {
var checkSum int
if len(code) == 7 || len(code) == 12 {