增加swagger文档接口定义
This commit is contained in:
23
define/consts.go
Normal file
23
define/consts.go
Normal file
@ -0,0 +1,23 @@
|
||||
// Package define ...
|
||||
//
|
||||
// Description : define ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 2024-04-19 12:12
|
||||
package define
|
||||
|
||||
const (
|
||||
SwaggerVersion2 = "2.0"
|
||||
)
|
||||
|
||||
const (
|
||||
LicenseApache2 = "Apache 2.0" // apache
|
||||
)
|
||||
|
||||
var (
|
||||
// LicenseLinkTable 开源协议内容映射表
|
||||
LicenseLinkTable = map[string]string{
|
||||
LicenseApache2: "http://www.apache.org/licenses/LICENSE-2.0.html",
|
||||
}
|
||||
)
|
Reference in New Issue
Block a user