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
@@ -155,7 +155,7 @@ func getCodeIndexList(content []rune) *utils.BitList {
return result
}
// Encode creates a Code 128 barcode for the given content
// Encode creates a Code 128 barcode for the given content and color scheme
func EncodeWithColor(content string, color barcode.ColorScheme) (barcode.BarcodeIntCS, error) {
contentRunes := strToRunes(content)
if len(contentRunes) <= 0 || len(contentRunes) > 80 {