bugfix for datamatrix error correction
more tests and code cleanup
This commit is contained in:
1 parent
e754f1b44c
commit
e5d11acdbf
19 files changed
+291
-157
No files matched your search
+3
-2
@@ -2,17 +2,18 @@ package code39
|
||||
|
||||
import (
|
||||
"github.com/boombuler/barcode"
|
||||
"github.com/boombuler/barcode/utils"
|
||||
"image"
|
||||
"image/color"
|
||||
)
|
||||
|
||||
type code struct {
|
||||
*barcode.BitList
|
||||
*utils.BitList
|
||||
content string
|
||||
}
|
||||
|
||||
func newCode() *code {
|
||||
return &code{&barcode.BitList{}, ""}
|
||||
return &code{new(utils.BitList), ""}
|
||||
}
|
||||
|
||||
func (c *code) Content() string {
|
||||
|
||||
Reference in new issue
Block a user