Versions in this module Expand all Collapse all v0 v0.9.16 Mar 31, 2021 Changes in this version + var DefaultDBEnvKeys = &DBEnvKeys + var DefaultRedisEnvKeys = &RedisEnvKeys + func ComposeFiles(dir string) []string + func CreateMigrationFile(migrationSrc, name string) + type DBConfig struct + DBName string + DBPass string + DBUser string + Host string + Port string + type DBEnvKeys DBConfig + func DBEnvKeysWithPrefix(prefix string) *DBEnvKeys + func (e *DBEnvKeys) GetConfig() *DBConfig + type Docker struct + ComposeFiles []string + EnvFile string + func (m *Docker) DockerCompose(c *typgo.Context) (err error) + func (m *Docker) DockerWipe(c *typgo.Context) error + func (m *Docker) Task() *typgo.Task + type MySQL struct + DockerName string + EnvKeys *DBEnvKeys + MigrationSrc string + Name string + SeedSrc string + func (t *MySQL) Console(c *typgo.Context) error + func (t *MySQL) CreateDB(c *typgo.Context) error + func (t *MySQL) DropDB(c *typgo.Context) error + func (t *MySQL) MigrateDB(c *typgo.Context) error + func (t *MySQL) MigrationFile(c *typgo.Context) error + func (t *MySQL) RollbackDB(c *typgo.Context) error + func (t *MySQL) SeedDB(c *typgo.Context) error + func (t *MySQL) Task() *typgo.Task + type Postgres struct + DockerName string + EnvKeys *DBEnvKeys + MigrationSrc string + Name string + SeedSrc string + func (t *Postgres) Console(c *typgo.Context) error + func (t *Postgres) CreateDB(c *typgo.Context) error + func (t *Postgres) DropDB(c *typgo.Context) error + func (t *Postgres) MigrateDB(c *typgo.Context) error + func (t *Postgres) MigrationFile(c *typgo.Context) error + func (t *Postgres) RollbackDB(c *typgo.Context) error + func (t *Postgres) SeedDB(c *typgo.Context) error + func (t *Postgres) Task() *typgo.Task + type Redis struct + DockerName string + EnvKeys *RedisEnvKeys + Name string + func (t *Redis) Console(c *typgo.Context) error + func (t *Redis) Task() *typgo.Task + type RedisConfig struct + Host string + Pass string + Port string + type RedisEnvKeys RedisConfig + func RedisEnvKeysWithPrefix(prefix string) *RedisEnvKeys + func (r *RedisEnvKeys) Config() *RedisConfig