Documentation ¶
Index ¶
- Constants
- func MapFromProtoStatus(stat *status.IssueStatus) int32
- func MapToProtoIssueType(issueType IssueType) issue.IssueType
- func MapToProtoPriority(prior Priority) priority.Priority
- func MapToProtoStatus(stat int32) *status.IssueStatus
- func MapToProtoTemplate(temp Template) template.Template
- type IssueFilter
- type IssueInfoRow
- type IssueRow
- type IssueType
- type Priority
- type Status
- type Template
Constants ¶
View Source
const ( StatusUnknown = 0 StatusCommon = 100 StatusDevelopment = 200 StatusEpic = 300 )
Variables ¶
This section is empty.
Functions ¶
func MapFromProtoStatus ¶
func MapFromProtoStatus(stat *status.IssueStatus) int32
func MapToProtoIssueType ¶
func MapToProtoPriority ¶
func MapToProtoStatus ¶
func MapToProtoStatus(stat int32) *status.IssueStatus
func MapToProtoTemplate ¶
Types ¶
type IssueFilter ¶
type IssueFilter struct { IDs []int64 Name string ParentID int64 Type IssueType Author string Assigned string SprintID int64 ProjectID int64 Status int32 }
func NewFilter ¶
func NewFilter(req *desc.IssueGetRequest) *IssueFilter
func NewInfoFilter ¶
func NewInfoFilter(req *desc.IssueInfoGetRequest) *IssueFilter
func (*IssueFilter) Apply ¶
func (f *IssueFilter) Apply(query sq.SelectBuilder) sq.SelectBuilder
type IssueInfoRow ¶
type IssueRow ¶
type IssueRow struct { ID int64 `db:"id"` CompositeName string `db:"composite_name"` Name string `db:"name"` IssueType IssueType `db:"issue_type"` ParentID int64 `db:"parent_id"` Description string `db:"description"` Comments string `db:"comments"` Author string `db:"author"` Assigned string `db:"assigned"` QA string `db:"qa"` Reviewer string `db:"reviewer"` Template Template `db:"template"` CreatedAt time.Time `db:"created_at"` UpdatedAt time.Time `db:"updated_at"` Deadline time.Time `db:"deadline"` Status int32 `db:"status"` Priority Priority `db:"priority"` SprintID int64 `db:"sprint_id"` ProjectID int64 `db:"project_id"` Components []int64 `db:"components"` StoryPoints int64 `db:"story_points"` Payment float64 `db:"payment"` TimeSpent int64 `db:"time_spent"` Children []int64 `db:"children"` }
Click to show internal directories.
Click to hide internal directories.