Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Fdb = flag.String("db", "", "指定数据库")
View Source
var Ftb = flag.String("tb", "", "指定数据表")
Functions ¶
Types ¶
type Config ¶
type Config struct { DB struct { Address string `yaml:"address"` Port int `yaml:"port"` User string `yaml:"user"` Password string `yaml:"password"` DBName string `yaml:"db_name"` MaxIdleConn int `yaml:"max_idle_conn"` MaxOpenConn int `yaml:"max_open_conn"` } `yaml:"db"` }
var Conf *Config
Click to show internal directories.
Click to hide internal directories.