go_init:一个用go组织项目结构,主要包括杜松子酒,goredis,gorm,websocket,rabbitmq等。

上传者: 42131414 | 上传时间: 2025-04-01 17:14:27 | 文件大小: 198KB | 文件类型: ZIP
介绍 这是一个基于gin搭建的一个包含gorm, goredis,rabbitmq,websocket等操作相关操作的项目结构。 主要提供一些库和组件的实现案例,以及项目开发部署,发布,执行等流程。纯属个人兴趣,学习整理过程, 如有发现不合理的地方希望大家可以提出建议和指正。 通过执行 go get -u github.com/xiaobopang/go_init 来下载安装该项目,使用 govendor sync来拉取依赖到vendor目录, 注意vendor所在的目录一定要在第一个GOPAHT下。 通过 go build -o go_init main.go 来生成执行文件,其他平台编译方

文件下载

资源详情

[{"title":"( 27 个子文件 198KB ) go_init:一个用go组织项目结构,主要包括杜松子酒,goredis,gorm,websocket,rabbitmq等。","children":[{"title":"go_init-master","children":[{"title":".gitignore <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"go.mod <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"middleware","children":[{"title":"jwt.go <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"cors.go <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"test.go <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false},{"title":"mq.go <span style='color:#111;'> 9.38KB </span>","children":null,"spread":false},{"title":"index.go <span style='color:#111;'> 753B </span>","children":null,"spread":false},{"title":"ws.go <span style='color:#111;'> 3.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"model","children":[{"title":"test.go <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"model.go <span style='color:#111;'> 3.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"dockerfile <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"1.png <span style='color:#111;'> 163.95KB </span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'> 18.75KB </span>","children":null,"spread":false},{"title":"docker-compose.yml <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ws.html <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"main.go <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"helper","children":[{"title":"common.go <span style='color:#111;'> 4.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 39.76KB </span>","children":null,"spread":false},{"title":"run.sh <span style='color:#111;'> 512B </span>","children":null,"spread":false},{"title":"user.sql <span style='color:#111;'> 675B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"jwt.go <span style='color:#111;'> 930B </span>","children":null,"spread":false},{"title":"redis.go <span style='color:#111;'> 3.67KB </span>","children":null,"spread":false},{"title":"config.go <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false}],"spread":false},{"title":"router","children":[{"title":"router.go <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false}],"spread":false},{"title":"conf","children":[{"title":"app.ini <span style='color:#111;'> 383B </span>","children":null,"spread":false}],"spread":false},{"title":"ws_client","children":[{"title":"client.go <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明