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

+2
View File
@@ -74,6 +74,8 @@ func prepare(content string) (string, error) {
return result, nil
}
// Encode returns a code93 barcode for the given content and color scheme
// if includeChecksum is set to true, two checksum characters are calculated and added to the content
func EncodeWithColor(content string, includeChecksum bool, fullASCIIMode bool, color barcode.ColorScheme) (barcode.Barcode, error) {
if fullASCIIMode {
var err error