new create repo options

This commit is contained in:
Unknwon 2015-08-28 19:06:00 +08:00
parent f3ae95fdd7
commit 837d3db791

View file

@ -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.