Documentation ¶
Index ¶
Constants ¶
View Source
const MemoryStructure = `` /* 378-byte string literal not displayed */
MemoryStructure is the database structure for a the sqlite "memory" database.
Variables ¶
This section is empty.
Functions ¶
func NewSQLiteDB ¶
NewSQLiteDB creates a SQLite DB with the default structure
Types ¶
type MemoryStore ¶
type MemoryStore struct { DB *sql.DB Store storage.Repository }
MemoryStore is a SQLite in-memory representation of a Repository.
func NewMemoryStore ¶
NewMemoryStore returns a sqlite "in-memory" repository for local tests.
Click to show internal directories.
Click to hide internal directories.