forgejo-sdk/issue_milestone.go

19 lines
559 B
Go
Raw Normal View History

2016-03-14 03:18:27 +00:00
// Copyright 2016 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package gogs
import "time"
type Milestone struct {
ID int64 `json:"id"`
2016-08-14 11:32:53 +01:00
State StateType `json:"state"`
2016-03-14 03:18:27 +00:00
Title string `json:"title"`
Description string `json:"description"`
OpenIssues int `json:"open_issues"`
ClosedIssues int `json:"closed_issues"`
Closed *time.Time `json:"closed_at"`
Deadline *time.Time `json:"due_on"`
}