Documentation
¶
Index ¶
- type ProjectTypeController
- type ProjectTypeDaoImpl
- func (inst *ProjectTypeDaoImpl) Find(id dxo.ProjectTypeID) (*entity.ProjectType, error)
- func (inst *ProjectTypeDaoImpl) Insert(o *entity.ProjectType) (*entity.ProjectType, error)
- func (inst *ProjectTypeDaoImpl) ListAll() ([]*entity.ProjectType, error)
- func (inst *ProjectTypeDaoImpl) Remove(id dxo.ProjectTypeID) error
- func (inst *ProjectTypeDaoImpl) Update(id dxo.ProjectTypeID, o1 *entity.ProjectType) (*entity.ProjectType, error)
- type ProjectTypeImportController
- type ProjectTypeImportServiceImpl
- type ProjectTypeServiceImpl
- func (inst *ProjectTypeServiceImpl) Find(ctx context.Context, id dxo.ProjectTypeID) (*dto.ProjectType, error)
- func (inst *ProjectTypeServiceImpl) Insert(ctx context.Context, o1 *dto.ProjectType) (*dto.ProjectType, error)
- func (inst *ProjectTypeServiceImpl) ListAll(ctx context.Context) ([]*dto.ProjectType, error)
- func (inst *ProjectTypeServiceImpl) LocateProject(ctx context.Context, o *dto.Project, path string) error
- func (inst *ProjectTypeServiceImpl) Remove(ctx context.Context, id dxo.ProjectTypeID) error
- func (inst *ProjectTypeServiceImpl) Update(ctx context.Context, id dxo.ProjectTypeID, o1 *dto.ProjectType) (*dto.ProjectType, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectTypeController ¶
type ProjectTypeController struct {
markup.RestController `class:"rest-controller"`
ProjectTypeService service.ProjectTypeService `inject:"#ProjectTypeService"`
Responder glass.MainResponder `inject:"#glass-main-responder"`
}
ProjectTypeController ProjectType 控制器
func (*ProjectTypeController) Init ¶
func (inst *ProjectTypeController) Init(ec glass.EngineConnection) error
Init 初始化
type ProjectTypeDaoImpl ¶
type ProjectTypeDaoImpl struct {
markup.Component `id:"ProjectTypeDAO"`
Agent dbagent.GormDBAgent `inject:"#GormDBAgent"`
UUIDGenService service.UUIDGenService `inject:"#UUIDGenService"`
}
ProjectTypeDaoImpl ...
func (*ProjectTypeDaoImpl) Find ¶
func (inst *ProjectTypeDaoImpl) Find(id dxo.ProjectTypeID) (*entity.ProjectType, error)
Find ...
func (*ProjectTypeDaoImpl) Insert ¶
func (inst *ProjectTypeDaoImpl) Insert(o *entity.ProjectType) (*entity.ProjectType, error)
Insert ...
func (*ProjectTypeDaoImpl) ListAll ¶
func (inst *ProjectTypeDaoImpl) ListAll() ([]*entity.ProjectType, error)
ListAll ...
func (*ProjectTypeDaoImpl) Remove ¶
func (inst *ProjectTypeDaoImpl) Remove(id dxo.ProjectTypeID) error
Remove ...
func (*ProjectTypeDaoImpl) Update ¶
func (inst *ProjectTypeDaoImpl) Update(id dxo.ProjectTypeID, o1 *entity.ProjectType) (*entity.ProjectType, error)
Update ....
type ProjectTypeImportController ¶
type ProjectTypeImportController struct {
markup.RestController `class:"rest-controller"`
ProjectTypeImportService service.ProjectTypeImportService `inject:"#ProjectTypeImportService"`
Responder glass.MainResponder `inject:"#glass-main-responder"`
}
ProjectTypeImportController ProjectTypeImport 控制器
func (*ProjectTypeImportController) Init ¶
func (inst *ProjectTypeImportController) Init(ec glass.EngineConnection) error
Init 初始化
type ProjectTypeImportServiceImpl ¶
type ProjectTypeImportServiceImpl struct {
markup.Component `id:"ProjectTypeImportService"`
AC application.Context `inject:"context"`
ProjectTypeService service.ProjectTypeService `inject:"#ProjectTypeService"`
}
ProjectTypeImportServiceImpl ...
func (*ProjectTypeImportServiceImpl) ImportTypesFromPreset ¶
func (inst *ProjectTypeImportServiceImpl) ImportTypesFromPreset(c context.Context) error
ImportTypesFromPreset ...
type ProjectTypeServiceImpl ¶
type ProjectTypeServiceImpl struct {
markup.Component `id:"ProjectTypeService"`
ProjectTypeDAO dao.ProjectTypeDAO `inject:"#ProjectTypeDAO"`
FileSystemService service.FileSystemService `inject:"#FileSystemService"`
}
ProjectTypeServiceImpl ...
func (*ProjectTypeServiceImpl) Find ¶
func (inst *ProjectTypeServiceImpl) Find(ctx context.Context, id dxo.ProjectTypeID) (*dto.ProjectType, error)
Find ...
func (*ProjectTypeServiceImpl) Insert ¶
func (inst *ProjectTypeServiceImpl) Insert(ctx context.Context, o1 *dto.ProjectType) (*dto.ProjectType, error)
Insert ...
func (*ProjectTypeServiceImpl) ListAll ¶
func (inst *ProjectTypeServiceImpl) ListAll(ctx context.Context) ([]*dto.ProjectType, error)
ListAll ...
func (*ProjectTypeServiceImpl) LocateProject ¶
func (inst *ProjectTypeServiceImpl) LocateProject(ctx context.Context, o *dto.Project, path string) error
LocateProject ...
func (*ProjectTypeServiceImpl) Remove ¶
func (inst *ProjectTypeServiceImpl) Remove(ctx context.Context, id dxo.ProjectTypeID) error
Remove ...
func (*ProjectTypeServiceImpl) Update ¶
func (inst *ProjectTypeServiceImpl) Update(ctx context.Context, id dxo.ProjectTypeID, o1 *dto.ProjectType) (*dto.ProjectType, error)
Update ...
Click to show internal directories.
Click to hide internal directories.