27 Star 249 Fork 69

开源中国/mcp-gitee

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
issue.go 902 Bytes
一键复制 编辑 原始数据 按行查看 历史
JJ-H 提交于 2025-03-12 15:51 +08:00 . initial commit
package types
// BasicIssue 定义了 Issue 的基本结构
type BasicIssue struct {
Id int `json:"id"`
Number string `json:"number"`
Title string `json:"title"`
User BasicUser `json:"user"`
State string `json:"state"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
Body string `json:"body"`
Labels []BasicLabel `json:"labels"`
Assignee *BasicUser `json:"assignee"`
IssueType string `json:"issue_type"`
Program *BasicProgram `json:"program"`
HtmlUrl string `json:"html_url"`
}
// IssueComment defines the structure for an issue comment
type IssueComment struct {
Id int `json:"id"`
Body string `json:"body"`
User BasicUser `json:"user"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/oschina/mcp-gitee.git
git@gitee.com:oschina/mcp-gitee.git
oschina
mcp-gitee
mcp-gitee
master

搜索帮助