diff options
Diffstat (limited to 'modules/structs')
-rw-r--r-- | modules/structs/issue_label.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/structs/issue_label.go b/modules/structs/issue_label.go index 5bb6cc3b84..2610d3e93f 100644 --- a/modules/structs/issue_label.go +++ b/modules/structs/issue_label.go @@ -44,3 +44,13 @@ type IssueLabelsOption struct { // list of label IDs Labels []int64 `json:"labels"` } + +// LabelTemplate info of a Label template +type LabelTemplate struct { + Name string `json:"name"` + // example: false + Exclusive bool `json:"exclusive"` + // example: 00aabb + Color string `json:"color"` + Description string `json:"description"` +} |