Documentation
¶
Index ¶
- Variables
- func InitConnection(driverName string)
- func InitMySqlConnection() map[string]*sql.DB
- func InitPgConnection() map[string]*sql.DB
- func Run(driverName string, tgtDb string, stmt string) (int, []string, []map[string]interface{}, string)
- func ScanRows(rows *sql.Rows) (int, []string, []map[string]interface{})
- type SqlExec
Constants ¶
This section is empty.
Variables ¶
View Source
var SqlCons map[string]map[string]*sql.DB
Functions ¶
func InitConnection ¶
func InitConnection(driverName string)
func InitMySqlConnection ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.