# gin_server **Repository Path**: zyz1720/gin_server ## Basic Information - **Project Name**: gin_server - **Description**: 用gin构建后端的基本框架 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-10-22 - **Last Updated**: 2025-11-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: Gin, Go语言 ## README # gin server ### 1、开始 下载项目所有依赖 ```shell go install ``` 启动项目 ```shell go run main.go ``` 同步swagger ```shell swag init --parseDependency --parseInternal ``` win设置环境变量为生产环境并验证 ```shell $env:APP_ENV="production" echo $env:APP_ENV ``` 访问项目文档 http://localhost:5000/swagger/index.html