Documentation
¶
Index ¶
- Variables
- type Config
- type Configurer
- type PgTool
- func (t *PgTool) Command(sys *typgo.BuildSys) *cli.Command
- func (t *PgTool) Console(c *typgo.Context) error
- func (t *PgTool) CreateDB(c *typgo.Context) error
- func (t *PgTool) DropDB(c *typgo.Context) error
- func (t *PgTool) MigrateDB(c *typgo.Context) error
- func (t *PgTool) RollbackDB(c *typgo.Context) error
- func (t *PgTool) SeedDB(c *typgo.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Stdout io.Writer = os.Stdout
Stdout standard output
Functions ¶
This section is empty.
Types ¶
type PgTool ¶
type PgTool struct {
Name string
ConfigFn func() Configurer
DockerName string
MigrationSrc string
SeedSrc string
// contains filtered or unexported fields
}
PgTool for postgres
func (*PgTool) RollbackDB ¶
RollbackDB rollback database
Click to show internal directories.
Click to hide internal directories.