Skip to content

Commit 804f078

Browse files
committed
Add added_by and last_used fields on keys
1 parent 3135011 commit 804f078

File tree

4 files changed

+41
-1
lines changed

4 files changed

+41
-1
lines changed

github/github-accessors.go

Lines changed: 16 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: 20 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: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/users_keys.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ type Key struct {
1919
ReadOnly *bool `json:"read_only,omitempty"`
2020
Verified *bool `json:"verified,omitempty"`
2121
CreatedAt *Timestamp `json:"created_at,omitempty"`
22+
AddedBy *string `json:"added_by,omitempty"`
23+
LastUsed *Timestamp `json:"last_used,omitempty"`
2224
}
2325

2426
func (k Key) String() string {

0 commit comments

Comments
 (0)