gitea/vendor/gitea.com/lunny/nodb/store/snapshot.go

17 lines
223 B
Go

package store
import (
"gitea.com/lunny/nodb/store/driver"
)
type Snapshot struct {
driver.ISnapshot
}
func (s *Snapshot) NewIterator() *Iterator {
it := new(Iterator)
it.it = s.ISnapshot.NewIterator()
return it
}