Versions in this module Expand all Collapse all v0 v0.0.0 Aug 29, 2016 Changes in this version + func CreateTestDatabase(dbPath string, migrationFunctions []func(*gorm.DB) error, ...) (*gorm.DB, error) + func CreateTestDatabasePostgres(dbUser, dbName string, migrationFunctions []func(*gorm.DB) error, ...) (*gorm.DB, error) + func NewDatabase(cnf *config.Config) (*gorm.DB, error) + type TimestampModel struct + CreatedAt time.Time + DeletedAt *time.Time + UpdatedAt time.Time