Ai
1 Star 0 Fork 41

naibahq/go-gitee

forked from openEuler/go-gitee 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hook_projecthook_accessors.go 437 Bytes
一键复制 编辑 原始数据 按行查看 历史
wanghao 提交于 2021-12-02 11:03 +08:00 . add some new files
package gitee
func (pj *ProjectHook) GetNameSpace() string {
if pj == nil {
return ""
}
return pj.Namespace
}
func (pj *ProjectHook) GetPath() string {
if pj == nil {
return ""
}
return pj.Path
}
func (pj *ProjectHook) GetOwner() *UserHook {
if pj == nil {
return nil
}
return pj.Owner
}
func (pj *ProjectHook) GetOwnerAndRepo() (string, string) {
if pj == nil {
return "", ""
}
return pj.Namespace, pj.Path
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/naibahq/go-gitee.git
git@gitee.com:naibahq/go-gitee.git
naibahq
go-gitee
go-gitee
bc992e4c5b2c

搜索帮助