Versions in this module Expand all Collapse all v0 v0.1.0 Sep 16, 2023 Changes in this version + func Create(db *DB, obj T) error + func Delete(db *DB, obj T) error + func NewTable(db *DB, obj T) error + func Read(db *DB, obj T) ([]T, error) + func Update(db *DB, obj T) error + type DB struct + func NewDB(dataSourceName string) (*DB, error) + type DatabaseSerializable interface + Columns func() []Pair[string, interface{}] + New func() T + PrimaryKeyColumn func() string + PrimaryKeyValue func() interface{} + ScanRow func(*sql.Rows) error + TableName func() string + type Pair struct + First A + Second B