Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Provider = wire.NewSet(NewConfig, New)
Functions ¶
Types ¶
type Config ¶
type Config struct { Type string `json:"type" mapstructure:"type"` // mysql://localhost:3306/dbname[?username=value1&password=value2¶mN=valueN] Master string `json:"master" mapstructure:"master"` Replicas []string `json:"replicas" mapstructure:"replicas"` gorm.Config // contains filtered or unexported fields }
Config
Click to show internal directories.
Click to hide internal directories.