Documentation ¶
Index ¶
- type Database
- func (db *Database) MigrateModels() error
- func (db *Database) SeedModels(logger zerolog.Logger, seeder ...Seeder)
- func (db *Database) SetupEnt(host string, port int, user string, password string, name string, ...) error
- func (db *Database) SetupRedis(url string, reset bool) error
- func (db *Database) SetupS3(endpoint, bucket, region, accessKey, secretKey string) error
- type Seeder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
func (*Database) MigrateModels ¶
func (*Database) SeedModels ¶
Click to show internal directories.
Click to hide internal directories.