go-sdk/issue_milestone.go

19 lines
559 B
Go
Raw Normal View History

2016-03-14 08:48:27 +05:30
// 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 16:02:53 +05:30
State StateType `json:"state"`
2016-03-14 08:48:27 +05:30
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"`
}