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
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user