Rename model.Model to record.Record

This commit is contained in:
Daniel 2018-09-05 17:19:45 +02:00
parent 9b7365376c
commit d76bfd55dc
23 changed files with 31 additions and 619 deletions

View file

@ -1,18 +1,18 @@
package iterator
import (
"github.com/Safing/portbase/database/model"
"github.com/Safing/portbase/database/record"
)
// Iterator defines the iterator structure.
type Iterator struct {
Next chan model.Model
Next chan record.Record
Error error
}
// New creates a new Iterator.
func New() *Iterator {
return &Iterator{
Next: make(chan model.Model, 10),
Next: make(chan record.Record, 10),
}
}