Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers interface { Create() echo.HandlerFunc Update() echo.HandlerFunc GetByID() echo.HandlerFunc Delete() echo.HandlerFunc }
type RedisRepository ¶
type UseCase ¶
type UseCase interface { Create(ctx context.Context, order *models.Order) (*models.Order, error) Update(ctx context.Context, order *models.Order) (*models.Order, error) GetOrderByID(ctx context.Context, orderID uuid.UUID) (*models.Order, error) Delete(ctx context.Context, orderID uuid.UUID) error }
Product use case
Click to show internal directories.
Click to hide internal directories.