Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inport ¶
type Inport interface {
Execute(ctx context.Context, req InportRequest) (*InportResponse, error)
}
Inport of ShowRoomInventory
func NewUsecase ¶
NewUsecase is constructor for create default implementation of usecase ShowRoomInventory
type InportRequest ¶
type InportRequest struct {
RoomID uint `uri:"room_id" binding:"required"`
}
InportRequest is request payload to run the usecase ShowRoomInventory
type InportResponse ¶
type InportResponse struct {
Inventory []InventoryResponse `` //
}
InportResponse is response payload after running the usecase ShowRoomInventory
type InventoryResponse ¶
type Outport ¶
type Outport interface { repository.WithoutTransactionDB repository.FindInventoryByRoomIDRepo }
Outport of ShowRoomInventory
Click to show internal directories.
Click to hide internal directories.