|
@@ -6,11 +6,12 @@ import (
|
|
|
)
|
|
|
|
|
|
type DbConfig struct {
|
|
|
- Host string `json:"host,omitempty" yaml:"host,omitempty"`
|
|
|
- Port int `json:"port,omitempty" yaml:"port,omitempty"`
|
|
|
- Schema string `json:"schema,omitempty" yaml:"schema,omitempty"`
|
|
|
- User string `json:"user,omitempty" yaml:"user,omitempty"`
|
|
|
- Pwd string `json:"pwd,omitempty" yaml:"pwd,omitempty"`
|
|
|
+ Host string `json:"host,omitempty" yaml:"host,omitempty"`
|
|
|
+ Port int `json:"port,omitempty" yaml:"port,omitempty"`
|
|
|
+ Schema string `json:"schema,omitempty" yaml:"schema,omitempty"`
|
|
|
+ User string `json:"user,omitempty" yaml:"user,omitempty"`
|
|
|
+ Pwd string `json:"pwd,omitempty" yaml:"pwd,omitempty"`
|
|
|
+ Tables []string `json:"tables,omitempty" yaml:"tables,omitempty"`
|
|
|
}
|
|
|
|
|
|
var (
|