rag/internal/access/bind.go

20 lines
313 B
Go
Raw Normal View History

2024-06-13 01:16:48 +00:00
package access
import (
2024-06-13 06:32:33 +00:00
"github.com/gin-gonic/gin"
2024-06-13 01:16:48 +00:00
"github.com/redis/go-redis/v9"
"go.uber.org/zap"
)
var (
// uncommit it after run make ent
//Ent *ent.Client
2024-06-13 06:32:33 +00:00
Redis *redis.Client
Logger *zap.Logger
2024-06-13 07:08:55 +00:00
Router *gin.Engine
2024-06-13 01:16:48 +00:00
)
func init() {
2024-06-13 06:33:14 +00:00
panic("ent not impl, if impl, uncommit this line")
2024-06-13 01:16:48 +00:00
}