Iterate has one 't'

This commit is contained in:
boombuler 2013-12-12 20:40:42 +01:00
parent 671aacf51c
commit 9fb741398c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)
}