From 837d3db7914deef1af82624d91f7cd0dd39231bc Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 28 Aug 2015 19:06:00 +0800 Subject: [PATCH] new create repo options --- repo.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repo.go b/repo.go index f17e58d..6bcf162 100644 --- a/repo.go +++ b/repo.go @@ -43,8 +43,9 @@ type CreateRepoOption struct { Description string `json:"description" binding:"MaxSize(255)"` Private bool `json:"private"` AutoInit bool `json:"auto_init"` - Gitignore string `json:"gitignore"` + Gitignores string `json:"gitignores"` License string `json:"license"` + Readme string `json:"readme"` } // CreateRepo creates a repository for authenticated user.