bugfix for datamatrix error correction

more tests and code cleanup
This commit is contained in:
Florian Sundermann committed 2013-12-13 13:53:27 +01:00
1 parent e754f1b44c
commit e5d11acdbf
19 files changed
+291 -157

No files matched your search

+3 -2
View File
@@ -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 {