Documentation
¶
Index ¶
- Variables
- type FindAllPage
- type FindResul
- type RedisRepo
- func (r *RedisRepo) DeleteByID(ctx context.Context, id uint64) error
- func (r *RedisRepo) FindAll(ctx context.Context, page FindAllPage) (FindResul, 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) UpdateByID(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 ¶
Click to show internal directories.
Click to hide internal directories.