Documentation ¶
Overview ¶
Package scribble is a tiny JSON database
Index ¶
Constants ¶
View Source
const Version = "1.0.4"
Version is the current version of the project
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver is what is used to interact with the scribble database. It runs transactions, and provides log output
func New ¶
New creates a new scribble database at the desired directory location, and returns a *Driver to then use for interacting with the database
func (*Driver) Delete ¶
Delete locks the database then attempts to remove the collection/resource specified by path
func (*Driver) Read ¶
Read a record from the database
func (*Driver) ReadAll ¶
ReadAll records from a collection; this is returned as a slice of strings because there is no way of knowing what type the record is.
Click to show internal directories.
Click to hide internal directories.