From 59cdd51b9ba62e5f78313979d86e3cb00483acbd Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Thu, 4 May 2017 16:38:15 +0300 Subject: [PATCH] Add new field "Empty" to Repository structure (#56) * Add new field "Empty" to Repository structure * Fix Empty type to bool * Add Size property to Repository structure --- gitea/repo.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitea/repo.go b/gitea/repo.go index 17ad0ac..b244761 100644 --- a/gitea/repo.go +++ b/gitea/repo.go @@ -26,9 +26,11 @@ type Repository struct { Name string `json:"name"` FullName string `json:"full_name"` Description string `json:"description"` + Empty bool `json:"empty"` Private bool `json:"private"` Fork bool `json:"fork"` Mirror bool `json:"mirror"` + Size int `json:"size"` HTMLURL string `json:"html_url"` SSHURL string `json:"ssh_url"` CloneURL string `json:"clone_url"`