We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ea35aa commit 66feb7aCopy full SHA for 66feb7a
repo.go
@@ -41,10 +41,10 @@ func (c *Client) ListMyRepos() ([]*Repository, error) {
41
type CreateRepoOption struct {
42
Name string `json:"name" binding:"Required"`
43
Description string `json:"description" binding:"MaxSize(255)"`
44
- Private bool `form:"private"`
45
- AutoInit bool `form:"auto_init"`
46
- Gitignore string `form:"gitignore"`
47
- License string `form:"license"`
+ Private bool `json:"private"`
+ AutoInit bool `json:"auto_init"`
+ Gitignore string `json:"gitignore"`
+ License string `json:"license"`
48
}
49
50
// CreateRepo creates a repository for authenticated user.
0 commit comments