Documentation ¶ Index ¶ type Config func (c *Config) BeforeInjectWithRoot(conf *rootconf.RootConfig) func (c *Config) Build() (*gorm.DB, error) type DB func (db *DB) Close() error func (db *DB) Config() any func (db *DB) Init() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config pkdb.Config func (*Config) BeforeInjectWithRoot ¶ added in v0.0.33 func (c *Config) BeforeInjectWithRoot(conf *rootconf.RootConfig) func (*Config) Build ¶ func (c *Config) Build() (*gorm.DB, error) type DB ¶ type DB pkdb.DB func (*DB) Close ¶ func (db *DB) Close() error func (*DB) Config ¶ func (db *DB) Config() any func (*DB) Init ¶ func (db *DB) Init() error Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.