Documentation ¶
Index ¶
- type ManualReview
- func (m *ManualReview) CreateReview(param *apistructs.CreateReviewRequest) (error, int64)
- func (m *ManualReview) CreateReviewUser(param *apistructs.CreateReviewUser) (error, int64)
- func (m *ManualReview) GetAuthorityByUserId(param *apistructs.GetAuthorityByUserIdRequest) (apistructs.GetAuthorityByUserIdResponse, error)
- func (m *ManualReview) GetReviewByTaskId(param *apistructs.GetReviewByTaskIdIdRequest) (apistructs.GetReviewByTaskIdIdResponse, error)
- func (m *ManualReview) GetReviewsBySponsorId(param *apistructs.GetReviewsBySponsorIdRequest) (int, []apistructs.GetReviewsBySponsorIdResponse, error)
- func (m *ManualReview) GetReviewsByUserId(param *apistructs.GetReviewsByUserIdRequest) (int, []apistructs.GetReviewsByUserIdResponse, error)
- func (m *ManualReview) UpdateApproval(param *apistructs.UpdateApproval) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManualReview ¶
type ManualReview struct {
// contains filtered or unexported fields
}
ManualReview 成员操作封装
func (*ManualReview) CreateReview ¶
func (m *ManualReview) CreateReview(param *apistructs.CreateReviewRequest) (error, int64)
func (*ManualReview) CreateReviewUser ¶
func (m *ManualReview) CreateReviewUser(param *apistructs.CreateReviewUser) (error, int64)
func (*ManualReview) GetAuthorityByUserId ¶
func (m *ManualReview) GetAuthorityByUserId(param *apistructs.GetAuthorityByUserIdRequest) (apistructs.GetAuthorityByUserIdResponse, error)
func (*ManualReview) GetReviewByTaskId ¶
func (m *ManualReview) GetReviewByTaskId(param *apistructs.GetReviewByTaskIdIdRequest) (apistructs.GetReviewByTaskIdIdResponse, error)
func (*ManualReview) GetReviewsBySponsorId ¶
func (m *ManualReview) GetReviewsBySponsorId(param *apistructs.GetReviewsBySponsorIdRequest) (int, []apistructs.GetReviewsBySponsorIdResponse, error)
func (*ManualReview) GetReviewsByUserId ¶
func (m *ManualReview) GetReviewsByUserId(param *apistructs.GetReviewsByUserIdRequest) (int, []apistructs.GetReviewsByUserIdResponse, error)
func (*ManualReview) UpdateApproval ¶
func (m *ManualReview) UpdateApproval(param *apistructs.UpdateApproval) error
Click to show internal directories.
Click to hide internal directories.