Versions in this module Expand all Collapse all v0 v0.0.2 Jul 12, 2020 Changes in this version + func NewFinder(r DbReader) notes.Finder + func NewLoader(r DbReader) notes.Loader + func NewNoteMap(db Db) notes.NoteMap + type Db interface + NewReadWriterTransaction func() DbReadWriterTransaction + NewReaderTransaction func() DbReaderTransaction + type DbReadWriter interface + Delete func([]uint64) error + Store func([]*pb.Note) error + type DbReadWriterTransaction interface + Commit func() error + type DbReader interface + Find func(q *notes.Query) ([]uint64, error) + Load func(id ...uint64) ([]*pb.Note, error) + type DbReaderTransaction interface + Discard func()