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 437B

123456789101112131415161718192021
  1. // Copyright 2019 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package structs
  4. import (
  5. "time"
  6. )
  7. // EditReactionOption contain the reaction type
  8. type EditReactionOption struct {
  9. Reaction string `json:"content"`
  10. }
  11. // Reaction contain one reaction
  12. type Reaction struct {
  13. User *User `json:"user"`
  14. Reaction string `json:"content"`
  15. // swagger:strfmt date-time
  16. Created time.Time `json:"created_at"`
  17. }