package
0.11.5
Repository: https://github.com/sergeyignatov/goiardi.git
Documentation: pkg.go.dev

# Functions

CheckForOne object of the given type identified by the given name.
ChkNilArray examines an object, searching for empty slices.
ConnectDB connects to a database with the database name and a map of connection options.
DecodeBlob decodes the data encoded with EncodeBlob that was stored in the database so it can be loaded back into a goiardi object.
EncodeBlob encodes a slice or map of goiardi object data to save in the database.
EncodeToJSON encodes an object to a JSON string.
New creates a new data store instance, or returns an already created one.
WalkMapForNil walks through the given map, searching for nil slices to create.

# Constants

Format to use for dates and times for MySQL.

# Variables

Dbh is the database handle, shared around.

# Structs

DataStore is the main data store struct, holding the key/value store and list of objects.

# Interfaces

Dbhandle is an interface for db handle types that can execute queries.
ResRow is an interface for rows returned by Query, or a single row returned by QueryRow.