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 ShowAuditRoomItem
func NewUsecase ¶
NewUsecase is constructor for create default implementation of usecase ShowAuditRoomItem
type InportRequest ¶
type InportRequest struct { AuditID uint `uri:"audit_id" binding:"required"` // RoomID uint `uri:"room_id" binding:"required"` // }
InportRequest is request payload to run the usecase ShowAuditRoomItem
type InportResponse ¶
type InportResponse struct {
Inventory []InventoryResponse `` //
}
InportResponse is response payload after running the usecase ShowAuditRoomItem
type InventoryResponse ¶
type Outport ¶
type Outport interface { repository.WithoutTransactionDB repository.FindInventoriesByAuditAndRoomRepo }
Outport of ShowAuditRoomItem
Click to show internal directories.
Click to hide internal directories.