Documentation ¶ Index ¶ type Config func (c *Config) Build(dialector gorm.Dialector) (*gorm.DB, error) func (c *Config) Init() func (c *Config) InitBeforeInjectWithInitConfig(conf *initconf.InitConfig) type DB func (db *DB) Table(name string) *gorm.DB Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config gormi.Config func (*Config) Build ¶ func (c *Config) Build(dialector gorm.Dialector) (*gorm.DB, error) func (*Config) Init ¶ added in v1.4.0 func (c *Config) Init() func (*Config) InitBeforeInjectWithInitConfig ¶ added in v1.4.0 func (c *Config) InitBeforeInjectWithInitConfig(conf *initconf.InitConfig) type DB ¶ type DB struct { *gorm.DB Conf Config } func (*DB) Table ¶ func (db *DB) Table(name string) *gorm.DB Source Files ¶ View all Source files gorm.go Directories ¶ Show internal Expand all Path Synopsis common mysql postgres sqlite Click to show internal directories. Click to hide internal directories.