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 CreateAudit
func NewUsecase ¶
NewUsecase is constructor for create default implementation of usecase CreateAudit
type InportRequest ¶
type InportRequest struct { }
InportRequest is request payload to run the usecase CreateAudit
type InportResponse ¶
type InportResponse struct {
AuditID uint `json:"audit_id"`
}
InportResponse is response payload after running the usecase CreateAudit
type Outport ¶
type Outport interface { repository.WithTransactionDB service.GenerateUUIDService repository.CreateAuditRepo }
Outport of CreateAudit
Click to show internal directories.
Click to hide internal directories.