2020-01-15 20:14:07 +09:00
|
|
|
// Copyright 2020 The Gitea Authors. All rights reserved.
|
2019-05-07 10:12:51 +09:00
|
|
|
// Use of this source code is governed by a MIT-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package base
|
|
|
|
|
2020-01-15 20:14:07 +09:00
|
|
|
// Reaction represents a reaction to an issue/pr/comment.
|
|
|
|
type Reaction struct {
|
2020-12-27 12:34:19 +09:00
|
|
|
UserID int64 `yaml:"user_id"`
|
|
|
|
UserName string `yaml:"user_name"`
|
2020-01-15 20:14:07 +09:00
|
|
|
Content string
|
2019-05-07 10:12:51 +09:00
|
|
|
}
|