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
@@ -54,7 +54,7 @@ func (e Encoding) String() string {
return ""
}
// Encode returns a QR barcode with the given content, error correction level and uses the given encoding
// Encode returns a QR barcode with the given content and color scheme, error correction level and uses the given encoding
func EncodeWithColor(content string, level ErrorCorrectionLevel, mode Encoding, color barcode.ColorScheme) (barcode.Barcode, error) {
bits, vi, err := mode.getEncoder()(content, level)
if err != nil {