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 548B

123456789101112131415161718
  1. // Copyright 2019 The Gitea Authors. All rights reserved.
  2. // Copyright 2018 Jonas Franz. All rights reserved.
  3. // SPDX-License-Identifier: MIT
  4. package migration
  5. import "time"
  6. // Milestone defines a standard milestone
  7. type Milestone struct {
  8. Title string `json:"title"`
  9. Description string `json:"description"`
  10. Deadline *time.Time `json:"deadline"`
  11. Created time.Time `json:"created"`
  12. Updated *time.Time `json:"updated"`
  13. Closed *time.Time `json:"closed"`
  14. State string `json:"state"` // open, closed
  15. }