You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

issue_reaction.go 509B

12345678910111213141516171819202122
  1. // Copyright 2019 The Gitea Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package structs
  5. import (
  6. "time"
  7. )
  8. // EditReactionOption contain the reaction type
  9. type EditReactionOption struct {
  10. Reaction string `json:"content"`
  11. }
  12. // Reaction contain one reaction
  13. type Reaction struct {
  14. User *User `json:"user"`
  15. Reaction string `json:"content"`
  16. // swagger:strfmt date-time
  17. Created time.Time `json:"created_at"`
  18. }