Added Parent property to the repo API (#59)

Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
This commit is contained in:
guyzmo 2017-05-06 03:37:21 +02:00 committed by Lunny Xiao
parent 1350cdb0d0
commit 8cff72208a
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ type Repository struct {
Empty bool `json:"empty"`
Private bool `json:"private"`
Fork bool `json:"fork"`
Parent *Repository `json:"parent"`
Mirror bool `json:"mirror"`
Size int `json:"size"`
HTMLURL string `json:"html_url"`