Skip to content

Commit 2ffd470

Browse files
committed
Change EditMilestoneOption.Title to non-pointer
1 parent cdfad4c commit 2ffd470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

issue_milestone.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (c *Client) CreateMilestone(owner, repo string, opt CreateMilestoneOption)
4848
}
4949

5050
type EditMilestoneOption struct {
51-
Title *string `json:"title"`
51+
Title string `json:"title"`
5252
Description *string `json:"description"`
5353
State *string `json:"state"`
5454
Deadline *time.Time `json:"due_on"`

0 commit comments

Comments
 (0)