You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

milestone.go 620B

12345678910111213141516171819
  1. // Copyright 2019 The Gitea Authors. All rights reserved.
  2. // Copyright 2018 Jonas Franz. All rights reserved.
  3. // Use of this source code is governed by a MIT-style
  4. // license that can be found in the LICENSE file.
  5. package migration
  6. import "time"
  7. // Milestone defines a standard milestone
  8. type Milestone struct {
  9. Title string `json:"title"`
  10. Description string `json:"description"`
  11. Deadline *time.Time `json:"deadline"`
  12. Created time.Time `json:"created"`
  13. Updated *time.Time `json:"updated"`
  14. Closed *time.Time `json:"closed"`
  15. State string `json:"state"` // open, closed
  16. }