Documentation ¶
Index ¶
- type LibReference
- func (l *LibReference) Convert(libReference *dao.LibReference) *apistructs.LibReference
- func (l *LibReference) Create(createReq *apistructs.LibReferenceCreateRequest) (uint64, error)
- func (l *LibReference) Delete(identityInfo apistructs.IdentityInfo, libReferenceID uint64) error
- func (l *LibReference) List(listReq *apistructs.LibReferenceListRequest) (*apistructs.LibReferenceListResponseData, error)
- func (l *LibReference) UpdateApprovalStatus(approvalID uint64, approvalStatus apistructs.ApprovalStatus) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LibReference ¶
type LibReference struct {
// contains filtered or unexported fields
}
LibReference 库引用 service
func (*LibReference) Convert ¶
func (l *LibReference) Convert(libReference *dao.LibReference) *apistructs.LibReference
Convert 库引用数据结构转换
func (*LibReference) Create ¶
func (l *LibReference) Create(createReq *apistructs.LibReferenceCreateRequest) (uint64, error)
Create 创建库引用
func (*LibReference) Delete ¶
func (l *LibReference) Delete(identityInfo apistructs.IdentityInfo, libReferenceID uint64) error
Delete 删除库引用
func (*LibReference) List ¶
func (l *LibReference) List(listReq *apistructs.LibReferenceListRequest) (*apistructs.LibReferenceListResponseData, error)
List 库引用列表
func (*LibReference) UpdateApprovalStatus ¶
func (l *LibReference) UpdateApprovalStatus(approvalID uint64, approvalStatus apistructs.ApprovalStatus) error
UpdateApprovalStatus 更新库引用审批状态
Click to show internal directories.
Click to hide internal directories.