Skip to content

Commit d695b5b

Browse files
aidansteelegmlewis
authored andcommitted
github.App: Use *Timestamp instead of *time.Time (#1179)
1 parent 361256a commit d695b5b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

github/apps.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ type App struct {
2626
Description *string `json:"description,omitempty"`
2727
ExternalURL *string `json:"external_url,omitempty"`
2828
HTMLURL *string `json:"html_url,omitempty"`
29-
CreatedAt *time.Time `json:"created_at,omitempty"`
30-
UpdatedAt *time.Time `json:"updated_at,omitempty"`
29+
CreatedAt *Timestamp `json:"created_at,omitempty"`
30+
UpdatedAt *Timestamp `json:"updated_at,omitempty"`
3131
}
3232

3333
// InstallationToken represents an installation token.

github/github-accessors.go

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

0 commit comments

Comments
 (0)