Change EditMilestoneOption.Title to non-pointer
This commit is contained in:
parent
cdfad4c78c
commit
2ffd4704c6
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ func (c *Client) CreateMilestone(owner, repo string, opt CreateMilestoneOption)
|
||||||
}
|
}
|
||||||
|
|
||||||
type EditMilestoneOption struct {
|
type EditMilestoneOption struct {
|
||||||
Title *string `json:"title"`
|
Title string `json:"title"`
|
||||||
Description *string `json:"description"`
|
Description *string `json:"description"`
|
||||||
State *string `json:"state"`
|
State *string `json:"state"`
|
||||||
Deadline *time.Time `json:"due_on"`
|
Deadline *time.Time `json:"due_on"`
|
||||||
|
|
Loading…
Reference in a new issue