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