mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-25 03:29:40 +08:00
7f869c061e
* Fix missing updated time on migrated issues and comments * Fix testing and missing updated on migrating pullrequest Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
27 lines
615 B
Go
27 lines
615 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
|
|
Milestone string
|
|
State string // closed, open
|
|
IsLocked bool
|
|
Created time.Time
|
|
Updated time.Time
|
|
Closed *time.Time
|
|
Labels []*Label
|
|
Reactions *Reactions
|
|
}
|