sk-matrix-project/backend/golang/matrix-middle-service/main.go
Shikong c5c3633ac4 添加 数据源配置
数据源初始化
多数据源初步支持
2023-02-26 21:10:43 +08:00

21 lines
492 B
Go

package main
import (
"matrix-middle-service/cmd/service"
_ "matrix-middle-service/pkg/database/mysql"
_ "matrix-middle-service/pkg/logger"
)
// @title matrix-middle-service API
// @version 1.0
// @description matrix-middle-service 的 swagger
// @termsOfService http://swagger.io/terms/
// @contact.name Shikong
// @contact.email 919411476@qq.com
// @license.name Apache 2.0
// @license.url http://www.apache.org/licenses/LICENSE-2.0.html
// @BasePath /
func main() {
service.Main()
}