# gin-web-example **Repository Path**: ccxl/gin-web-example ## Basic Information - **Project Name**: gin-web-example - **Description**: gin web 的 mc 开发骨架,试用前后分离项目 api 的快速开发。 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-06-25 - **Last Updated**: 2023-06-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## gin-web-example 基于 go 语言的 gin 框架项目骨架,做了基础的封装,方便 web 开发快速启动,快速提供 api 开发。 ### 集成模块 1. logrus 日志 2. redis 3. gorm mysql 4. redis 数据库缓存 5. config 配置获取 6. air 热更新 ### 使用 下载项目源码 ```perl git clone https://github.com/cxlcxl/gin-web-example.git ``` 进入项目目录 初始化模块 ```perl go mod init xxxx ``` 下载依赖 ```perl go mod tidy ``` 启动(windows),mac 或其他操作系统需要修改 .air.conf 配置文件 ```perl air ```