Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRecordNotFound = errors.New("record not found")
Functions ¶
This section is empty.
Types ¶
type Database ¶
func NewDatabase ¶
func NewDatabase(data []records.Record, persistentDB PersistentDatabase) *Database
NewDatabase creates a new in memory database.
Click to show internal directories.
Click to hide internal directories.