Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Database is a simple wrapper around a JSON-based file.
func Open ¶
Open reads the database file from the given directory. An error is returned if the file doesn't exist or cannot be read. There can only be 1 database per directory.
Click to show internal directories.
Click to hide internal directories.