Documentation ¶
Index ¶
- type SqlWrap
- func (s *SqlWrap) Begin() (tx *sql.Tx, err error)
- func (s *SqlWrap) Commit(tx *sql.Tx)
- func (s *SqlWrap) Exec(sql string, params ...interface{}) (res sql.Result, err error)
- func (s *SqlWrap) ExecTx(tx *sql.Tx, sql string, params ...interface{}) (res sql.Result, err error)
- func (s *SqlWrap) Query(sql string, params ...interface{}) (rows *sql.Rows, err error)
- func (s *SqlWrap) Rollback(tx *sql.Tx)
- func (s *SqlWrap) SetDB(db *sql.DB)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.