blob: b09499112c446cb0a2621beba50c364b85a10d49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package gitlab
import "time"
type MilestoneState string
const (
MilestoneActive MilestoneState = "active"
)
type Milestone struct {
ID int `json:"id" yaml:"id"`
IID int `json:"iid" yaml:"iid"`
GroupID int `json:"group_id" yaml:"group_id"`
Title string `json:"title" yaml:"title"`
Description string `json:"description" yaml:"description"`
State MilestoneState `json:"state" yaml:"state"`
CreatedAt time.Time `json:"created_at" yaml:"created_at"`
UpdatedAt time.Time `json:"updated_at" yaml:"updated_at"`
DueAt string `json:"due_date" yaml:"due_date"`
StartedAt string `json:"start_date" yaml:"start_date"`
Expired bool `json:"expired" yaml:"expired"`
WebUrl string `json:"web_url" yaml:"web_url"`
}
|