Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Dialect string `mapstructure:"dialect" yaml:"dialect" json:"dialect"`
Host string `mapstructure:"host" yaml:"host" json:"host"`
Port int `mapstructure:"port" yaml:"port" json:"port"`
Username string `mapstructure:"username" yaml:"username" json:"username"`
Password string `mapstructure:"password" yaml:"password" json:"password"`
Database string `mapstructure:"database" yaml:"database" json:"database"`
Params string `mapstructure:"params" yaml:"params" json:"params"`
ShowSQL bool `mapstructure:"show_sql" yaml:"show_sql" json:"show_sql"`
}
Click to show internal directories.
Click to hide internal directories.