aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/code.gitea.io/sdk/gitea/issue_milestone.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/code.gitea.io/sdk/gitea/issue_milestone.go')
-rw-r--r--vendor/code.gitea.io/sdk/gitea/issue_milestone.go22
1 files changed, 11 insertions, 11 deletions
diff --git a/vendor/code.gitea.io/sdk/gitea/issue_milestone.go b/vendor/code.gitea.io/sdk/gitea/issue_milestone.go
index d820067422..775a6a9117 100644
--- a/vendor/code.gitea.io/sdk/gitea/issue_milestone.go
+++ b/vendor/code.gitea.io/sdk/gitea/issue_milestone.go
@@ -13,16 +13,16 @@ import (
// Milestone milestone is a collection of issues on one repository
type Milestone struct {
- ID int64 `json:"id"`
- Title string `json:"title"`
- Description string `json:"description"`
- State StateType `json:"state"`
- OpenIssues int `json:"open_issues"`
- ClosedIssues int `json:"closed_issues"`
+ ID int64 `json:"id"`
+ Title string `json:"title"`
+ Description string `json:"description"`
+ State StateType `json:"state"`
+ OpenIssues int `json:"open_issues"`
+ ClosedIssues int `json:"closed_issues"`
// swagger:strfmt date-time
- Closed *time.Time `json:"closed_at"`
+ Closed *time.Time `json:"closed_at"`
// swagger:strfmt date-time
- Deadline *time.Time `json:"due_on"`
+ Deadline *time.Time `json:"due_on"`
}
// ListRepoMilestones list all the milestones of one repository
@@ -39,10 +39,10 @@ func (c *Client) GetMilestone(owner, repo string, id int64) (*Milestone, error)
// CreateMilestoneOption options for creating a milestone
type CreateMilestoneOption struct {
- Title string `json:"title"`
- Description string `json:"description"`
+ Title string `json:"title"`
+ Description string `json:"description"`
// swagger:strfmt date-time
- Deadline *time.Time `json:"due_on"`
+ Deadline *time.Time `json:"due_on"`
}
// CreateMilestone create one milestone with options