Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DbConfig ¶
type DbConfig struct { Url string User string `env:"USER" envDefault:"postgres"` Password string `env:"PASSWORD"` Host string `env:"HOST"` Port string `env:"PORT" envDefault:"5432"` Name string `env:"NAME"` MigrationsDir string `env:"MIGRATIONS_DIR" envDefault:"ent/migrate/migrations"` AutoMigrate bool `env:"AUTO_MIGRATE" envDefault:"false"` AutoMigrateDropIndex bool `env:"AUTO_MIGRATE_DROP_INDEX" envDefault:"false"` AutoMigrateDropColumn bool `env:"AUTO_MIGRATE_DROP_COLUMN" envDefault:"false"` }
type DbServicer ¶
Click to show internal directories.
Click to hide internal directories.