Iterate has one 't'
This commit is contained in:
parent
671aacf51c
commit
9fb741398c
|
@ -95,7 +95,7 @@ func (l *codeLayout) Corner4(value byte) {
|
|||
l.Set(1, l.size.MatrixColumns()-1, value, 7, true)
|
||||
}
|
||||
|
||||
func (l *codeLayout) ItterateSetter() <-chan setValFunc {
|
||||
func (l *codeLayout) IterateSetter() <-chan setValFunc {
|
||||
result := make(chan setValFunc)
|
||||
go func() {
|
||||
row := 4
|
||||
|
|
|
@ -32,7 +32,7 @@ func Encode(content string) (barcode.Barcode, error) {
|
|||
func render(data []byte, size *dmCodeSize) *datamatrixCode {
|
||||
cl := newCodeLayout(size)
|
||||
|
||||
setters := cl.ItterateSetter()
|
||||
setters := cl.IterateSetter()
|
||||
for _, b := range data {
|
||||
(<-setters)(b)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue