Change EditMilestoneOption.Title to non-pointer

This commit is contained in:
Unknwon 2016-08-24 15:52:02 -07:00
parent cdfad4c78c
commit 2ffd4704c6

View file

@ -48,7 +48,7 @@ func (c *Client) CreateMilestone(owner, repo string, opt CreateMilestoneOption)
}
type EditMilestoneOption struct {
Title *string `json:"title"`
Title string `json:"title"`
Description *string `json:"description"`
State *string `json:"state"`
Deadline *time.Time `json:"due_on"`