Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultMigrationsFolder = "migrations"
View Source
const (
PostgreSQLName = "postgres"
)
Variables ¶
This section is empty.
Functions ¶
func ConnectToDB ¶
func ConnectToDB(cfg *config.DatabaseConfig) (*gorm.DB, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.