Documentation ¶
Index ¶
- func CheckErr(err error)
- func Connect(conf *MysqlConfig) *sql.DB
- func Fetch_map(db *sql.DB, sqlStr string, param ...interface{}) map[int]map[string]string
- func Fetch_one(db *sql.DB, sqlStr string, param ...interface{}) map[string]string
- func SQL_insert_error(db *sql.DB, sqlStr string, param ...interface{}) (int64, error)
- func SQL_query_error(db *sql.DB, sqlStr string, param ...interface{}) (int64, error)
- func Test(db *sql.DB, sqlStr string)
- type MysqlConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(conf *MysqlConfig) *sql.DB
func SQL_insert_error ¶
func SQL_query_error ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.