Versions in this module Expand all Collapse all v3 v3.0.1 May 5, 2020 v3.0.0 Mar 16, 2020 Changes in this version + const DialectMysql + const DialectPostgres + func EnsureMigrations(folder string, config Config) (returnErr error) + func MustApplyDatabaseSeed(file string, db *gorm.DB) + func SetupGORM(config Config, logger observance.Logger) (*gorm.DB, error) + type Config struct + Dialect string + Host string + Name string + Password string + Port string + SSLMode string + User string + func (c *Config) ConnectionString() string + func (c *Config) MigrationURL() string + type GormLogrus struct + func (g GormLogrus) Print(v ...interface{}) Other modules containing this package github.com/fastbill/go-service-toolkit github.com/fastbill/go-service-toolkit/v2 github.com/fastbill/go-service-toolkit/v4