From 8cff72208aa458f4efa8fdfbad29b03aee485b8c Mon Sep 17 00:00:00 2001 From: guyzmo Date: Sat, 6 May 2017 03:37:21 +0200 Subject: [PATCH] Added Parent property to the repo API (#59) Signed-off-by: Guyzmo --- gitea/repo.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gitea/repo.go b/gitea/repo.go index b244761..7e997cd 100644 --- a/gitea/repo.go +++ b/gitea/repo.go @@ -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"`