Added Parent property to the repo API (#1687)

Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
This commit is contained in:
guyzmo authored and Bo-Yi Wu committed 2017-05-12 11:09:26 +08:00
1 parent 251fb935ff
commit 397474ecb1
3 files changed
+20 -3

No files matched your search

+1
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"`