gin-vue-admin/server
Mohamed Hassan 0f1407ebfe + update code base to v2.7.8-beta1. 2024-12-23 13:08:43 +02:00
..
api/v1 + update code base to v2.7.8-beta1. 2024-12-23 13:08:43 +02:00
config + Merge main branch into i18n branch. 2024-12-22 23:33:18 +02:00
core + update code base to v2.7.8-beta1. 2024-12-23 13:08:43 +02:00
docs 发布v2.7.8Beta1 (#1957) 2024-12-08 21:17:21 +08:00
global + Add a default language option so this language will be used as a fallback in case of no current language transaction exist for any string. 2024-10-04 21:34:59 +03:00
initialize + update code base to v2.7.8-beta1. 2024-12-23 13:08:43 +02:00
middleware + update code base to v2.7.8-beta1. 2024-12-23 13:08:43 +02:00
model + update code base to v2.7.8-beta1. 2024-12-23 13:08:43 +02:00
plugin + update code base to v2.7.8-beta1. 2024-12-23 13:08:43 +02:00
resource + update code base to v2.7.8-beta1. 2024-12-23 13:08:43 +02:00
router update: 发布dev2.7.6Beta版本 (#1908) 2024-10-15 21:58:17 +08:00
service + update code base to v2.7.8-beta1. 2024-12-23 13:08:43 +02:00
source + update code base to v2.7.8-beta1. 2024-12-23 13:08:43 +02:00
task 清理掉定时任务config配置,修改为代码内书写 (#1578) 2023-11-20 23:38:15 +08:00
utils + update code base to v2.7.8-beta1. 2024-12-23 13:08:43 +02:00
Dockerfile Dockerfile修复工作路径的问题 (#1833) 2024-07-25 21:27:20 +08:00
README.md update: server/README.md 2021-07-10 10:22:25 +08:00
config.docker.yaml feature: mongoDB 支持 (#1565) 2023-10-14 13:59:30 +08:00
config.yaml Merge branch 'refs/heads/eslint' into i18n 2024-11-09 12:46:20 +08:00
go.mod + Merge main branch into i18n branch. 2024-12-22 23:33:18 +02:00
go.sum + Merge main branch into i18n branch. 2024-12-22 23:33:18 +02:00
main.go + update code base to v2.7.8-beta1. 2024-12-23 13:08:43 +02:00

README.md

server项目结构

├── api
│   └── v1
├── config
├── core
├── docs
├── global
├── initialize
│   └── internal
├── middleware
├── model
│   ├── request
│   └── response
├── packfile
├── resource
│   ├── excel
│   ├── page
│   └── template
├── router
├── service
├── source
└── utils
    ├── timer
    └── upload
文件夹 说明 描述
api api层 api层
--v1 v1版本接口 v1版本接口
config 配置包 config.yaml对应的配置结构体
core 核心文件 核心组件(zap, viper, server)的初始化
docs swagger文档目录 swagger文档目录
global 全局对象 全局对象
initialize 初始化 router,redis,gorm,validator, timer的初始化
--internal 初始化内部函数 gorm 的 longger 自定义,在此文件夹的函数只能由 initialize 层进行调用
middleware 中间件层 用于存放 gin 中间件代码
model 模型层 模型对应数据表
--request 入参结构体 接收前端发送到后端的数据。
--response 出参结构体 返回给前端的数据结构体
packfile 静态文件打包 静态文件打包
resource 静态资源文件夹 负责存放静态文件
--excel excel导入导出默认路径 excel导入导出默认路径
--page 表单生成器 表单生成器 打包后的dist
--template 模板 模板文件夹,存放的是代码生成器的模板
router 路由层 路由层
service service层 存放业务逻辑问题
source source层 存放初始化数据的函数
utils 工具包 工具函数封装
--timer timer 定时器接口封装
--upload oss oss接口封装