Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandFinder ¶
ExpandFinder combines tf and l to provide a full notes.Finder implementation.
func ExpandLoader ¶
func ExpandLoader(tl TruncatedLoader) notes.Loader
ExpandLoader expands tl into a full Loader implementation with built-in caching.
func ExpandNote ¶
func ExpandNote(tn TruncatedNote, l notes.Loader) notes.Note
ExpandNote uses tn and l to provide a full notes.Note implementation.
Types ¶
type IDFinder ¶
IDFinder can be implemented in order to provide a notes.Finder through ExpandFinder.
type TruncatedLoader ¶
type TruncatedLoader interface {
LoadTruncatedNotes([]notes.ID) ([]TruncatedNote, error)
}
TruncatedLoader can be implemented in order to provide a Loader through ExpandLoader.
Click to show internal directories.
Click to hide internal directories.