【文件属性】:
文件名称:golang-rest-api:示例Golang Rest API
文件大小:20KB
文件格式:ZIP
更新时间:2021-03-11 13:14:49
Go
Golang-Rest-API
示例Golang Rest API
命令
# Start server
make run
# Start server for local
make run-local
# Stop server
make stop
【文件预览】:
golang-rest-api-main
----docker-compose.local.yml(181B)
----Dockerfile(364B)
----app()
--------handler()
--------server.go(118B)
--------infrastructure()
--------domain()
--------test()
--------interfaces()
--------usecase()
----mysql()
--------.env.local(100B)
--------my.cnf(114B)
--------db()
--------Dockerfile(82B)
--------.env(100B)
----Dockerfile.local(183B)
----docker-compose.yml(407B)
----.gitignore(26B)
----Makefile(158B)
----go.sum(7KB)
----README.md(155B)
----go.mod(496B)