# vs-go **Repository Path**: vshang/vs-go ## Basic Information - **Project Name**: vs-go - **Description**: 基于 gin、gorm 开发的简易HTTP服务框架 - **Primary Language**: Go - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: http://www.vshangweb.com - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2024-12-27 - **Last Updated**: 2025-08-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: Gin, gorm ## README # vs-go #### 介绍 vs-go 是基于 gin gorm 开发的简易HTTP服务框架,欢迎go语言爱好者一起学习共同完善 #### 软件架构 内置http、tcp、udp、json-rpc、websocket、redis、gc、jwt、task ...等等诸多功能 #### 安装教程 1. 下载代码 2. 安装依赖 ``` $ go get github.com/gin-gonic/gin $ go get gorm.io/driver/mysql $ go get gorm.io/gorm ``` 3. config.yaml配置数据库与redis和mysql 4. 启动项目后请求localhost:8000/install 安装数据库 #### 使用说明 1. 目录说明 app ------------------------- 控制器、中间件、模型、服务等 开发目录 assets ---------------------- 静态资源 html、js、css、图片、文件 config ---------------------- 配置 runtime --------------------- 启动后创建系统、日志等等 system ---------------------- 框架组件 template -------------------- html模板 config.yaml--------------- 配置 man.go ------------------- 入口文件 #### 参与贡献 --