Documentation ¶ Index ¶ func Open(conf *DBConf) (*sql.DB, error) type DBConf Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Open ¶ func Open(conf *DBConf) (*sql.DB, error) Types ¶ type DBConf ¶ type DBConf struct { Host string `json:"host"` Port int `json:"port"` Name string `json:"name"` User string `json:"user"` Password string `json:"password"` PoolSize int `json:"poolSize"` } Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.