Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Meng-Xin/take-out
/ types & classes
Types & classes
74 in github.com/Meng-Xin/take-out
⨍
Functions
203
◇
Types & classes
74
Struct
AliOss
config/config.go:91
Struct
AllConfig
AllConfig 整合Config
config/config.go:40
Struct
Category
internal/model/category.go:9
Struct
Category
internal/api/response/category.go:3
Struct
CategoryController
internal/api/controller/category_controller.go:13
Struct
CategoryDTO
internal/api/request/category.go:3
Struct
CategoryDao
internal/repository/dao/category_dao.go:14
Struct
CategoryImpl
internal/service/category_service.go:23
Struct
CategoryPageQueryDTO
internal/api/request/category.go:10
Struct
CategoryRouter
internal/router/admin/category.go:12
Struct
CommonController
internal/api/controller/common_controller.go:11
Struct
CommonRouter
internal/router/admin/common.go:9
Struct
CustomPayload
CustomPayload 自定义载荷继承原有接口并附带自己的字段
common/utils/jwt.go:10
Struct
DataSource
config/config.go:55
Struct
Dish
internal/model/dish.go:9
Struct
DishController
internal/api/controller/dish_controller.go:12
Struct
DishDTO
internal/api/request/dish.go:7
Struct
DishDao
internal/repository/dao/dish_dao.go:15
Struct
DishFlavor
internal/model/dish_flavor.go:3
Struct
DishFlavorDao
internal/repository/dao/dish_flavor.go:12
Struct
DishListVo
internal/api/response/dish.go:33
Struct
DishPageQueryDTO
internal/api/request/dish.go:18
Struct
DishPageVo
internal/api/response/dish.go:8
Struct
DishRouter
internal/router/admin/dish.go:12
Struct
DishServiceImpl
internal/service/dish_service.go:30
Struct
DishUpdateDTO
internal/api/request/dish.go:26
Struct
DishVo
internal/api/response/dish.go:20
Struct
Employee
internal/model/employee.go:9
Struct
EmployeeController
internal/api/controller/employee_controller.go:13
Struct
EmployeeDTO
internal/api/request/employee.go:14
Struct
EmployeeDao
internal/repository/dao/employee_dao.go:14
Struct
EmployeeEditPassword
internal/api/request/employee.go:8
Struct
EmployeeImpl
internal/service/employee_service.go:28
Struct
EmployeeLogin
internal/api/request/employee.go:3
Struct
EmployeeLogin
internal/api/response/employee.go:3
Struct
EmployeePageQueryDTO
internal/api/request/employee.go:23
Struct
EmployeeRouter
internal/router/admin/employee.go:12
Struct
Error
Error 通用错误结构体
common/retcode/retcode.go:18
Interface
ErrorCodeGetter
ErrorCodeGetter 错误接口:用于提取错误码
common/retcode/retcode.go:13
Interface
Float
common/utils/generice.go:20
Struct
GormTransaction
GormTransaction 这里我们对Gorm进行封装Transaction
global/tx/gormTx.go:12
Interface
ICategoryService
internal/service/category_service.go:14
Interface
IDishService
internal/service/dish_service.go:20
Interface
IEmployeeService
internal/service/employee_service.go:17
Interface
ILog
logger/log.go:10
Interface
ISetMealService
internal/service/setmeal_service.go:20
Interface
Integer
common/utils/generice.go:8
Struct
Jwt
config/config.go:80
Struct
JwtOption
config/config.go:85
Struct
LLogger
logger/log.go:18
Struct
Log
config/config.go:75
Struct
LogEmailHook
logger/log.go:22
Struct
MySLog
logger/slog.go:10
Interface
Ordered
Ordered 代表所有可比大小排序的类型
common/utils/generice.go:4
Struct
PageResult
common/result.go:14
Struct
Redis
config/config.go:68
Struct
Result
common/result.go:8
Struct
RouterGroup
internal/router/router.go:5
Struct
Server
config/config.go:50
Struct
SetMeal
internal/model/setmeal.go:9
Struct
SetMealController
internal/api/controller/setmeal_controller.go:12
Struct
SetMealDTO
internal/api/request/setmeal.go:5
Struct
SetMealDao
internal/repository/dao/setmeal_dao.go:15
Struct
SetMealDish
internal/model/setmeal_dish.go:3
Struct
SetMealDishDao
internal/repository/dao/setmeal_dish_dao.go:12
Struct
SetMealPageQueryDTO
internal/api/request/setmeal.go:16
Struct
SetMealPageQueryVo
internal/api/response/setmeal.go:8
Struct
SetMealRouter
internal/router/admin/setmeal.go:12
Struct
SetMealServiceImpl
internal/service/setmeal_service.go:28
Struct
SetMealWithDishByIdVo
internal/api/response/setmeal.go:23
Interface
Signed
common/utils/generice.go:12
Interface
Transaction
Transaction 定义事务管理器接口 因为不同数据库的事务管理方式不同,所以这里使用接口来定义事务管理器的功能 具体的实现可以由不同的数据库驱动来实现 例如,我们当前项目的Dao层为了引入事务破坏了 `依赖倒置` 原则,所以我们的目标是面向抽象
global/tx/transactionManager.go:7
Interface
Unsigned
common/utils/generice.go:16
Struct
Wechat
config/config.go:98