Documentation ¶
Index ¶
- type IMysql
- func (_m *IMysql) CreateOrUpdate(ctx context.Context, db *sqlx.DB, data interface{}, query string) (int64, error)
- func (_m *IMysql) Get(_a0 context.Context, _a1 *sqlx.DB, _a2 interface{}, _a3 *util.Query, ...) error
- func (_m *IMysql) Select(_a0 context.Context, _a1 *sqlx.DB, _a2 *[]entity.Question, _a3 *util.Query, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMysql ¶
IMysql is an autogenerated mock type for the IMysql type
func (*IMysql) CreateOrUpdate ¶
func (_m *IMysql) CreateOrUpdate(ctx context.Context, db *sqlx.DB, data interface{}, query string) (int64, error)
CreateOrUpdate provides a mock function with given fields: ctx, db, data, query
Click to show internal directories.
Click to hide internal directories.