online-order/entity/server.go
2023-10-31 20:01:06 +03:30

22 lines
312 B
Go

package entity
import (
"github.com/gin-gonic/gin"
"online-order/ent"
)
type RouterBase struct {
Database *ent.Client
OpenApp *gin.RouterGroup
}
type RouterActiveBusiness struct {
ActiveBusiness ActiveBusiness
}
type Routers struct {
RouterBase
RouterActiveBusiness
RestrictedApp *gin.RouterGroup
}