Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StateBelongs = []apistructs.IssueStateBelong{ apistructs.IssueStateBelongReopen, apistructs.IssueStateBelongWontfix, apistructs.IssueStateBelongResloved, apistructs.IssueStateBelongWorking, apistructs.IssueStateBelongOpen, } IssuePriorities = []apistructs.IssuePriority{ apistructs.IssuePriorityUrgent, apistructs.IssuePriorityHigh, apistructs.IssuePriorityNormal, apistructs.IssuePriorityLow, } IssueTypes = []apistructs.IssueType{ apistructs.IssueTypeRequirement, apistructs.IssueTypeBug, apistructs.IssueTypeTask, } )
personal workbench issue expire days,Not specified, Expired, Due today , Due tomorrow, Due within 7 days, Expires within 30 days, Future: 0 display undone issue, issues order by priority
Functions ¶
This section is empty.
Types ¶
type Workbench ¶
type Workbench struct {
// contains filtered or unexported fields
}
func (*Workbench) GetUndoneProjectItem ¶
func (w *Workbench) GetUndoneProjectItem(userID string, issueSize int, pro apistructs.ProjectDTO) (*apistructs.WorkbenchProjectItem, error)
GetUndoneProjectItem query issue list and use SetSpecialIssueNum func set issue num
func (*Workbench) SetDiffFinishedIssueNum ¶
func (w *Workbench) SetDiffFinishedIssueNum(req apistructs.IssuePagingRequest, items []*apistructs.WorkbenchProjectItem) error
e.workBench.GetUndoneProjectItem concurrent query different expire issue num
Click to show internal directories.
Click to hide internal directories.