Documentation
¶
Index ¶
- Variables
- type GetAllPage
- type GetResult
- type RedisRepo
- func (r *RedisRepo) Create(ctx context.Context, order model.Order) error
- func (r *RedisRepo) DeleteById(ctx context.Context, id uint64) error
- func (r *RedisRepo) GetAll(ctx context.Context, page GetAllPage) (GetResult, error)
- func (r *RedisRepo) GetById(ctx context.Context, id uint64) (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 do not exist")
Functions ¶
This section is empty.
Types ¶
type GetAllPage ¶
Click to show internal directories.
Click to hide internal directories.