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
This commit is contained in:
Lauris BH 2017-05-04 16:38:15 +03:00 committed by Lunny Xiao
parent a39112334b
commit 59cdd51b9b
1 changed files with 2 additions and 0 deletions

View File

@ -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"`