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