17 lines
221 B
Go
17 lines
221 B
Go
package entity
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"online-order/ent"
|
|
)
|
|
|
|
type RouterBase struct {
|
|
Database *ent.Client
|
|
OpenApp *gin.RouterGroup
|
|
}
|
|
|
|
type Routers struct {
|
|
RouterBase
|
|
RestrictedApp *gin.RouterGroup
|
|
}
|