Go-api-源码

上传者: 42131728 | 上传时间: 2021-02-20 12:03:48 | 文件大小: 37KB | 文件类型: ZIP
Go
Go-api模板 快速创建基于回声的api项目 入门 设置环境 GOPROXY 创建一个新项目 将github.com/relax-space/go-api重命名为xxx / xxx / your-project-name 将go-api重命名为your-project-name 跑 $ docker-compose -f . \e xample \d ocker-compose.yml up -d $ go run . 访问 访问招摇 查看日志 下载 开始使用者./kafka-console-consumer.bat --bootstrap-server localhost:9092 --from-beginning --topic behaviorlog 请求一个api,例如: 消费者将接受信息 { " action_id " : " d14b340b-7b68-11ea

文件下载

资源详情

[{"title":"( 35 个子文件 37KB ) Go-api-源码","children":[{"title":"go-api-master","children":[{"title":".gitignore <span style='color:#111;'> 302B </span>","children":null,"spread":false},{"title":"go.mod <span style='color:#111;'> 661B </span>","children":null,"spread":false},{"title":"Dockerfile <span style='color:#111;'> 543B </span>","children":null,"spread":false},{"title":"factory","children":[{"title":"factory.go <span style='color:#111;'> 425B </span>","children":null,"spread":false}],"spread":true},{"title":"config.staging.yml <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":".dockerignore <span style='color:#111;'> 8B </span>","children":null,"spread":false},{"title":"config.qa.yml <span style='color:#111;'> 332B </span>","children":null,"spread":false},{"title":".gitlab-ci.yml <span style='color:#111;'> 379B </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 810B </span>","children":null,"spread":false},{"title":"main_test.go <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"models","children":[{"title":"utils.go <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"init.go <span style='color:#111;'> 836B </span>","children":null,"spread":false},{"title":"fruit.go <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"dto.go <span style='color:#111;'> 77B </span>","children":null,"spread":false}],"spread":true},{"title":"config.srx-common-qa.yml <span style='color:#111;'> 319B </span>","children":null,"spread":false},{"title":"config.srx-common-production.yml <span style='color:#111;'> 434B </span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'> 32.66KB </span>","children":null,"spread":false},{"title":"main.go <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"Dockerfile_mod <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"config.production.yml <span style='color:#111;'> 465B </span>","children":null,"spread":false},{"title":"config.rtc.yml <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"fruit_api_test.go <span style='color:#111;'> 19.93KB </span>","children":null,"spread":false},{"title":"init.go <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"config_test.go <span style='color:#111;'> 434B </span>","children":null,"spread":false},{"title":"test.sql <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"fruit_test.go <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false},{"title":"factory_test.go <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"init_test.go <span style='color:#111;'> 5.44KB </span>","children":null,"spread":false}],"spread":false},{"title":"example","children":[{"title":"docker-compose.yml <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"config.go <span style='color:#111;'> 992B </span>","children":null,"spread":false}],"spread":false},{"title":"controllers","children":[{"title":"fruit_api.go <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"utils.go <span style='color:#111;'> 1000B </span>","children":null,"spread":false},{"title":"dto.go <span style='color:#111;'> 471B </span>","children":null,"spread":false}],"spread":false},{"title":"config.yml <span style='color:#111;'> 329B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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