Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbFactory ¶ added in v0.1.22
type DbFactory interface {
Register(newDb func(DbFactory) any) DbFactory
PgDb() *PgDB
Get(name reflect.Type) any
}
func NewDBFactory ¶ added in v0.1.22
func NewDBFactory(cfg config.CfgManager) (DbFactory, error)
type PgDB ¶
func NewPostgresConnection ¶
func NewPostgresConnection(cfg config.CfgManager) (*PgDB, error)
func (PgDB) WithConnection ¶
Click to show internal directories.
Click to hide internal directories.