Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = sqlx.ErrNotFound
Functions ¶
This section is empty.
Types ¶
type PointModel ¶
type PointModel interface { // SaveUserPointTrans customer methods SaveUserPointTrans(ctx context.Context, data *Point) error // contains filtered or unexported methods }
PointModel is an interface to be customized, add more methods here, and implement the added methods in customPointModel.
func NewPointModel ¶
func NewPointModel(conn sqlx.SqlConn, c cache.CacheConf) PointModel
NewPointModel returns a model for the database table.
type PointRecord ¶
type PointRecordModel ¶
type PointRecordModel interface { Count() (*int64, error) UserPointRecordPage(pq modelx.PageReq, pr PointRecord) (*modelx.PageRes[*PointRecord], error) // contains filtered or unexported methods }
PointRecordModel is an interface to be customized, add more methods here, and implement the added methods in customPointRecordModel.
func NewPointRecordModel ¶
func NewPointRecordModel(conn sqlx.SqlConn, c cache.CacheConf) PointRecordModel
NewPointRecordModel returns a model for the database table.
Click to show internal directories.
Click to hide internal directories.