Skip to content

Commit 56f5036

Browse files
authored
Add created_at field to Reaction (#3501)
1 parent 0877faf commit 56f5036

File tree

4 files changed

+27
-6
lines changed

4 files changed

+27
-6
lines changed

github/github-accessors.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-accessors_test.go

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-stringify_test.go

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/reactions.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ type Reaction struct {
2626
// Content is the type of reaction.
2727
// Possible values are:
2828
// "+1", "-1", "laugh", "confused", "heart", "hooray", "rocket", or "eyes".
29-
Content *string `json:"content,omitempty"`
29+
Content *string `json:"content,omitempty"`
30+
CreatedAt *Timestamp `json:"created_at,omitempty"`
3031
}
3132

3233
// Reactions represents a summary of GitHub reactions.

0 commit comments

Comments
 (0)