mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-05 12:29:05 +02:00
Upgrade golang to 1.25.1 and add descriptions for the swagger structs' fields (#35418)
This commit is contained in:
1 parent
b8f1c9f048
commit
c290682521
51 files changed
+1928
-656
No files matched your search
@@ -9,13 +9,17 @@ import (
|
||||
|
||||
// EditReactionOption contain the reaction type
|
||||
type EditReactionOption struct {
|
||||
// The reaction content (e.g., emoji or reaction type)
|
||||
Reaction string `json:"content"`
|
||||
}
|
||||
|
||||
// Reaction contain one reaction
|
||||
type Reaction struct {
|
||||
User *User `json:"user"`
|
||||
// The user who created the reaction
|
||||
User *User `json:"user"`
|
||||
// The reaction content (e.g., emoji or reaction type)
|
||||
Reaction string `json:"content"`
|
||||
// swagger:strfmt date-time
|
||||
// The date and time when the reaction was created
|
||||
Created time.Time `json:"created_at"`
|
||||
}
|
||||
Reference in new issue
Block a user