package
Version:
v0.0.23
Opens a new window with list of versions in this module.
Published: Nov 15, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Gogen Usecase
Call gogen usecase RunProductCreate
will
-
Create file Inport, Interactor and Outport
└── domain_yourdomainname
└── usecase
└── runordercreate
├── README.md
├── inport.go
├── interactor.go
└── outport.go
-
There are specialization for Inport.
if using prefix GetAll
then InportRequest and InportResponse will have
type InportRequest struct {
Page int
Size int
}
type InportResponse struct {
Count int64
Items []any
}
otherwise it will be empty
type InportRequest struct {
}
type InportResponse struct {
}
Documentation
¶
type ObjTemplate struct {
PackagePath string
UsecaseName string
}
ObjTemplate ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.