diff --git a/code39/encoder.go b/code39/encoder.go index 2f472f0..8387b34 100644 --- a/code39/encoder.go +++ b/code39/encoder.go @@ -92,6 +92,7 @@ func Encode(content string, includeChecksum bool) (barcode.Barcode, error) { data += "*" cd := newCode() + cd.content = content for i, r := range data { if i != 0 {