Documentation
¶
Index ¶
- Variables
- type FindAllPage
- type FindResult
- type RedisRepo
- func (r *RedisRepo) DeleteByID(ctx context.Context, id uint64) error
- func (r *RedisRepo) FindAll(ctx context.Context, page FindAllPage) (FindResult, error)
- func (r *RedisRepo) FindByID(ctx context.Context, id uint64) (model.Order, error)
- func (r *RedisRepo) Insert(ctx context.Context, order model.Order) error
- func (r *RedisRepo) Update(ctx context.Context, order model.Order) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotExist = errors.New("order does not exist")
Functions ¶
This section is empty.
Types ¶
type FindAllPage ¶
type FindResult ¶
Click to show internal directories.
Click to hide internal directories.