new create repo options
This commit is contained in:
parent
f3ae95fdd7
commit
837d3db791
1 changed files with 2 additions and 1 deletions
3
repo.go
3
repo.go
|
@ -43,8 +43,9 @@ type CreateRepoOption struct {
|
||||||
Description string `json:"description" binding:"MaxSize(255)"`
|
Description string `json:"description" binding:"MaxSize(255)"`
|
||||||
Private bool `json:"private"`
|
Private bool `json:"private"`
|
||||||
AutoInit bool `json:"auto_init"`
|
AutoInit bool `json:"auto_init"`
|
||||||
Gitignore string `json:"gitignore"`
|
Gitignores string `json:"gitignores"`
|
||||||
License string `json:"license"`
|
License string `json:"license"`
|
||||||
|
Readme string `json:"readme"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// CreateRepo creates a repository for authenticated user.
|
// CreateRepo creates a repository for authenticated user.
|
||||||
|
|
Loading…
Reference in a new issue