Commit d0f1bcc2 authored by Benjamin Jorand's avatar Benjamin Jorand Committed by Sander van Harmelen

Add Milestone.StartDate to Issue (#95)

* Add Milestone.StartDate to Issue

* Use Milestone struct

* Use pointer for Milestone
parent be045e1f
...@@ -42,15 +42,7 @@ type Issue struct { ...@@ -42,15 +42,7 @@ type Issue struct {
Title string `json:"title"` Title string `json:"title"`
Description string `json:"description"` Description string `json:"description"`
Labels []string `json:"labels"` Labels []string `json:"labels"`
Milestone struct { Milestone *Milestone `json:"milestone"`
ID int `json:"id"`
Title string `json:"title"`
Description string `json:"description"`
DueDate string `json:"due_date"`
State string `json:"state"`
UpdatedAt *time.Time `json:"updated_at"`
CreatedAt *time.Time `json:"created_at"`
} `json:"milestone"`
Assignee struct { Assignee struct {
ID int `json:"id"` ID int `json:"id"`
Username string `json:"username"` Username string `json:"username"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment