Documentation ¶
Index ¶
- func AddDB(dbname string, driver string, url string, maxOpenConns int, maxIdleConns int, ...)
- func CloseDB(dbname string) bool
- func ExecuteBatchSQL(dbname string, sqls []string) bool
- func ExecuteSQL(dbname string, sql string, args ...interface{}) bool
- func GetDB(dbname string) *sqlx.DB
- func InitFromConfig(configs []interface{}, decryptKey string, ...) bool
- func QueryMap(dbname string, sql string, args ...interface{}) []map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteBatchSQL ¶
func ExecuteSQL ¶
func InitFromConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.