Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// DriverName is the unique identifier for the heavy driver
DriverName = "lite_v0.1.0"
)
Functions ¶
func CreateDBConnection ¶
CreateDBConnection creates a connection to the DB
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
DB represents the db struct
func (*DB) Begin ¶
func (db *DB) Begin(writable bool) (database.Transaction, error)
Begin builds read-only or read-write Transaction
Click to show internal directories.
Click to hide internal directories.