golang-example:Golang REST API示例

时间:2021-05-08 15:12:50
【文件属性】:
文件名称:golang-example:Golang REST API示例
文件大小:49KB
文件格式:ZIP
更新时间:2021-05-08 15:12:50
testing docker golang test rest-api Golang示例样板 特征 清除代码(DDD) 杜松子酒框架 Docker和docker-compose ORM与gorm 使用Kafka的发布/订阅 整合测试 与github action集成 怎么跑 有两种方式可以运行此应用程序,带docker或不带docker # running with docker # copy .env cp .env.example .env # running in development mode, you can use live-reload when safe file make run-local # remove production container make down-local # running in production image make run-production docker logs --tail=100 -f
【文件预览】:
golang-example-master
----Dockerfile(386B)
----.gitignore(31B)
----.env.test(496B)
----README.md(5KB)
----air.conf(1KB)
----.github()
--------workflows()
----tests()
--------get_users_test.go(2KB)
--------delete_user_test.go(3KB)
--------get_user_test.go(3KB)
--------create_user_test.go(4KB)
--------health_test.go(876B)
--------update_user_test.go(4KB)
----docker-compose.production.yml(3KB)
----docker-compose.yml(3KB)
----LICENSE(1KB)
----go.mod(1KB)
----package()
--------kafka()
--------google()
--------redis()
--------rabitmq()
----src()
--------routes()
--------main.go(838B)
--------services()
--------utils()
--------jobs()
--------repositories()
--------middlewares()
--------database()
--------apps()
--------validations()
--------helpers()
--------controllers()
----scripts()
--------test.sh(685B)
----go.sum(19KB)
----Makefile(973B)
----ignore_test.yml(148B)
----.env.example(491B)

网友评论