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