代码拉取完成,页面将自动刷新
/*
* 码云 Open API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: 5.3.2
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package gitee
// create repository
type RepositoryPostParam struct {
// 用户授权码
AccessToken string `json:"access_token,omitempty"`
// 仓库名称
Name string `json:"name,omitempty"`
// 仓库描述
Description string `json:"description,omitempty"`
// 主页(eg: https://gitee.com)
Homepage string `json:"homepage,omitempty"`
// 允许提Issue与否。默认: 允许(true)
HasIssues bool `json:"has_issues,omitempty"`
// 提供Wiki与否。默认: 提供(true)
HasWiki bool `json:"has_wiki,omitempty"`
// 允许用户对仓库进行评论。默认: 允许(true)
CanComment bool `json:"can_comment,omitempty"`
// 仓库开源类型。0(私有), 1(外部开源), 2(内部开源),注:与private互斥,以public为主。
Public int32 `json:"public,omitempty"`
// 仓库公开或私有。默认: 公开(false),注:与public互斥,以public为主。
Private bool `json:"private,omitempty"`
// 值为true时则会用README初始化仓库。默认: 不初始化(false)
AutoInit bool `json:"auto_init,omitempty"`
// Git Ingore模版
GitignoreTemplate string `json:"gitignore_template,omitempty"`
// License模版
LicenseTemplate string `json:"license_template,omitempty"`
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。