Skip to content

Commit 05dbb8c

Browse files
authored
Set description max size to 512
Set description max size to 512 when creating a repository
1 parent 1d7215c commit 05dbb8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func (c *Client) ListOrgRepos(org string) ([]*Repository, error) {
6464

6565
type CreateRepoOption struct {
6666
Name string `json:"name" binding:"Required;AlphaDashDot;MaxSize(100)"`
67-
Description string `json:"description" binding:"MaxSize(255)"`
67+
Description string `json:"description" binding:"MaxSize(512)"`
6868
Private bool `json:"private"`
6969
Unlisted bool `json:"unlisted"`
7070
AutoInit bool `json:"auto_init"`

0 commit comments

Comments
 (0)