Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdConfig ¶
type CmdConfig struct {
MigrationDir string `yaml:"migration_dir" json:"migration_dir"`
}
func NewCmdConfig ¶
type DBConfig ¶
type DBConfig struct {
// currently support only "postgres"
Dialect string `yaml:"dialect" json:"dialect"`
Host string `yaml:"host" json:"host"`
Port int `yaml:"port" json:"port"`
Username string `yaml:"username" json:"username"`
Password string `yaml:"password" json:"password"`
Database string `yaml:"database" json:"database"`
SSLMode string `yaml:"sslmode" json:"sslmode"`
}
Click to show internal directories.
Click to hide internal directories.