Documentation ¶
Index ¶
- func InitConnectionInfo(uname, dbname, pwd, host string)
- func InsertMap(sql string, domainList []interface{}) ([]interface{}, error)
- func QueryInfo(sql string, args ...interface{}) ([]map[string]interface{}, error)
- func UpdateMap(sql string, domainList []interface{}) (bool, error)
- func UseConnection(point breakthroughPoint) (interface{}, error)
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConnectionInfo ¶
func InitConnectionInfo(uname, dbname, pwd, host string)
初始化链接参数 如果已经初始化 则可以重新设置这个参数
func UseConnection ¶
func UseConnection(point breakthroughPoint) (interface{}, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.