Update godoc comment of EncodeWithColor methods
This commit is contained in:
1 parent
1c8224977e
commit
b1129f9d8b
9 files changed
+10
-8
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user