Skip to content

Commit c2c4a6d

Browse files
Add name and email fields to repo Contributor (#1773)
1 parent 7081b5f commit c2c4a6d

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

github/github-accessors.go

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-accessors_test.go

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/repos.go

+2
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,8 @@ type Contributor struct {
534534
Type *string `json:"type,omitempty"`
535535
SiteAdmin *bool `json:"site_admin,omitempty"`
536536
Contributions *int `json:"contributions,omitempty"`
537+
Name *string `json:"name,omitempty"`
538+
Email *string `json:"email,omitempty"`
537539
}
538540

539541
// ListContributorsOptions specifies the optional parameters to the

0 commit comments

Comments
 (0)