Files
order/main.go
2025-12-10 13:51:09 +08:00

21 lines
514 B
Go

package main
import (
"context"
"gitee.com/red-future---jilin-g/common/http"
"gitee.com/red-future---jilin-g/common/jaeger"
_ "gitee.com/red-future---jilin-g/common/mongo"
_ "gitee.com/red-future---jilin-g/common/ragflow" // RAGFlow 客户端自动初始化
_ "github.com/gogf/gf/contrib/drivers/mysql/v2"
_ "github.com/gogf/gf/contrib/nosql/redis/v2"
"order/controller"
)
func main() {
defer jaeger.ShutDown(context.Background())
http.RouteRegister([]interface{}{
controller.Order,
})
select {}
}