Versions in this module Expand all Collapse all v0 v0.1.1 Feb 25, 2020 v0.1.0 Feb 25, 2020 Changes in this version + func AutoMigrate(db *gorm.DB) error + func Inject(container *dig.Container) error + func NewDB(c *Config) (*gorm.DB, error) + func SetTablePrefix(prefix string) + type Config struct + DBType string + DSN string + Debug bool + MaxIdleConns int + MaxLifetime int + MaxOpenConns int