7 Star 17 Fork 22

go-course / go9

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docs.go 611 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mr.Yu 提交于 2023-03-18 12:10 . 资源管理业务设计
package swagger
import (
"gitee.com/go-course/go9/projects/devcloud/cmdb/version"
"github.com/go-openapi/spec"
)
func Docs(swo *spec.Swagger) {
swo.Info = &spec.Info{
InfoProps: spec.InfoProps{
Title: "发布中心",
Description: "Resource for managing k8s",
Contact: &spec.ContactInfo{
ContactInfoProps: spec.ContactInfoProps{
Name: "john",
Email: "john@doe.rp",
URL: "http://johndoe.org",
},
},
License: &spec.License{
LicenseProps: spec.LicenseProps{
Name: "MIT",
URL: "http://mit.org",
},
},
Version: version.Short(),
},
}
}
1
https://gitee.com/go-course/go9.git
git@gitee.com:go-course/go9.git
go-course
go9
go9
2c311f48cd84

搜索帮助