Skip to content

Commit 9769715

Browse files
committed
Added Parent property to the repo API
Signed-off-by: Guyzmo <[email protected]>
1 parent d0b2ccd commit 9769715

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

repo.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,12 @@ type Repository struct {
2525
Name string `json:"name"`
2626
FullName string `json:"full_name"`
2727
Description string `json:"description"`
28-
Empty bool `json:"empty"`
2928
Private bool `json:"private"`
3029
Fork bool `json:"fork"`
30+
Parent *Repository `json:"parent"`
3131
Empty bool `json:"empty"`
3232
Size int `json:"size"`
3333
Mirror bool `json:"mirror"`
34-
Size int `json:"size"`
3534
HTMLURL string `json:"html_url"`
3635
SSHURL string `json:"ssh_url"`
3736
CloneURL string `json:"clone_url"`

0 commit comments

Comments
 (0)