drone-test/main.go
Eg 05f8043672
Some checks failed
continuous-integration/drone/push Build is failing
commit ci file
2022-06-15 11:57:45 +08:00

24 lines
329 B
Go

package main
import (
"docDemo/router"
"fmt"
"github.com/gin-gonic/gin"
)
//func init() {
// client.InitMySQLClient()
//}
func main() {
app := gin.Default()
// 初始化路由
router.InitRouter(app.Group("/api"))
// 订阅消息
//go queues.NewQueuesConsumer().SubscribeGetReport()
app.Run(fmt.Sprintf(":8889"))
}