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

View file

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