Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Datasource string `yaml:"datasource"`
}
Config is a database configuration. It's save as sql-migrate schema style.
see also: https://github.com/rubenv/sql-migrate
type Configs ¶
Configs have configuration for each environment.
func NewConfigs ¶
NewConfigs reads configs from io.Reader.
func NewConfigsFromFile ¶
NewConfigsFromFile reads settings from file.
Click to show internal directories.
Click to hide internal directories.