您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }