File tree Expand file tree Collapse file tree 20 files changed +31
-27
lines changed
Expand file tree Collapse file tree 20 files changed +31
-27
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ type Event struct {
2525 ID * string `json:"id,omitempty"`
2626}
2727
28- func (e * Event ) String () string {
28+ func (e Event ) String () string {
2929 return Stringify (e )
3030}
3131
@@ -53,7 +53,7 @@ type PushEvent struct {
5353 Commits []PushEventCommit `json:"commits,omitempty"`
5454}
5555
56- func (p * PushEvent ) String () string {
56+ func (p PushEvent ) String () string {
5757 return Stringify (p )
5858}
5959
@@ -66,7 +66,7 @@ type PushEventCommit struct {
6666 Distinct * bool `json:"distinct"`
6767}
6868
69- func (p * PushEventCommit ) String () string {
69+ func (p PushEventCommit ) String () string {
7070 return Stringify (p )
7171}
7272
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ type Gist struct {
3333 CreatedAt * time.Time `json:"created_at,omitempty"`
3434}
3535
36- func (g * Gist ) String () string {
36+ func (g Gist ) String () string {
3737 return Stringify (g )
3838}
3939
@@ -48,7 +48,7 @@ type GistFile struct {
4848 Content * string `json:"content,omitempty"`
4949}
5050
51- func (g * GistFile ) String () string {
51+ func (g GistFile ) String () string {
5252 return Stringify (g )
5353}
5454
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ type GistComment struct {
1919 CreatedAt * time.Time `json:"created_at,omitempty"`
2020}
2121
22- func (g * GistComment ) String () string {
22+ func (g GistComment ) String () string {
2323 return Stringify (g )
2424}
2525
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ type Commit struct {
2020 Parents []Commit `json:"parents,omitempty"`
2121}
2222
23- func (c * Commit ) String () string {
23+ func (c Commit ) String () string {
2424 return Stringify (c )
2525}
2626
@@ -32,7 +32,7 @@ type CommitAuthor struct {
3232 Email * string `json:"email,omitempty"`
3333}
3434
35- func (c * CommitAuthor ) String () string {
35+ func (c CommitAuthor ) String () string {
3636 return Stringify (c )
3737}
3838
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ type Tree struct {
1313 Entries []TreeEntry `json:"tree,omitempty"`
1414}
1515
16- func (t * Tree ) String () string {
16+ func (t Tree ) String () string {
1717 return Stringify (t )
1818}
1919
@@ -28,7 +28,7 @@ type TreeEntry struct {
2828 Size * int `json:"size,omitempty"`
2929}
3030
31- func (t * TreeEntry ) String () string {
31+ func (t TreeEntry ) String () string {
3232 return Stringify (t )
3333}
3434
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ type Issue struct {
3838 // TODO(willnorris): milestone
3939}
4040
41- func (i * Issue ) String () string {
41+ func (i Issue ) String () string {
4242 return Stringify (i )
4343}
4444
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ type IssueComment struct {
2020 UpdatedAt * time.Time `json:"updated_at,omitempty"`
2121}
2222
23- func (i * IssueComment ) String () string {
23+ func (i IssueComment ) String () string {
2424 return Stringify (i )
2525}
2626
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ type Organization struct {
3030 CreatedAt * time.Time `json:"created_at,omitempty"`
3131}
3232
33- func (o * Organization ) String () string {
33+ func (o Organization ) String () string {
3434 return Stringify (o )
3535}
3636
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ type Team struct {
1919 ReposCount * int `json:"repos_count,omitempty"`
2020}
2121
22- func (t * Team ) String () string {
22+ func (t Team ) String () string {
2323 return Stringify (t )
2424}
2525
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ type PullRequest struct {
4242 // TODO(willnorris): add head and base once we have a Commit struct defined somewhere
4343}
4444
45- func (p * PullRequest ) String () string {
45+ func (p PullRequest ) String () string {
4646 return Stringify (p )
4747}
4848
You can’t perform that action at this time.
0 commit comments