mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 17:49:20 +08:00
825efa2605
* Add Ref to api.Issue This PR adds Ref to api.Issue and adds the backend parts to the migrator. Fix #13918 Signed-off-by: Andrew Thornton <art27@cantab.net>
29 lines
658 B
Go
29 lines
658 B
Go
// Copyright 2019 The Gitea Authors. All rights reserved.
|
|
// Copyright 2018 Jonas Franz. All rights reserved.
|
|
// Use of this source code is governed by a MIT-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package base
|
|
|
|
import "time"
|
|
|
|
// Issue is a standard issue information
|
|
type Issue struct {
|
|
Number int64
|
|
PosterID int64
|
|
PosterName string
|
|
PosterEmail string
|
|
Title string
|
|
Content string
|
|
Ref string
|
|
Milestone string
|
|
State string // closed, open
|
|
IsLocked bool
|
|
Created time.Time
|
|
Updated time.Time
|
|
Closed *time.Time
|
|
Labels []*Label
|
|
Reactions []*Reaction
|
|
Assignees []string
|
|
}
|