Ai
1 Star 0 Fork 41

naibahq/go-gitee

forked from openEuler/go-gitee 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
model_new_file_param.go 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
/*
* 码云 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
type NewFileParam struct {
// 用户授权码
AccessToken string `json:"access_token,omitempty"`
// 文件内容, 要用 base64 编码
Content string `json:"content,omitempty"`
// 提交信息
Message string `json:"message,omitempty"`
// 分支名称。默认为仓库对默认分支
Branch string `json:"branch,omitempty"`
// Committer的名字,默认为当前用户的名字
CommitterName string `json:"committer[name],omitempty"`
// Committer的邮箱,默认为当前用户的邮箱
CommitterEmail string `json:"committer[email],omitempty"`
// Author的名字,默认为当前用户的名字
AuthorName string `json:"author[name],omitempty"`
// Author的邮箱,默认为当前用户的邮箱
AuthorEmail string `json:"author[email],omitempty"`
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/naibahq/go-gitee.git
git@gitee.com:naibahq/go-gitee.git
naibahq
go-gitee
go-gitee
bc992e4c5b2c

搜索帮助