go-rest-api-boilerplate:使用常用的开源库开发基于go lang REST API的样板

时间:2024-05-28 15:06:04
【文件属性】:

文件名称:go-rest-api-boilerplate:使用常用的开源库开发基于go lang REST API的样板

文件大小:10KB

文件格式:ZIP

更新时间:2024-05-28 15:06:04

go api golang rest-api negroni

去休息api样板 使用常用的开源库开发基于go lang REST API的样板 样板运行说明: 注意:确保正确设置了go开发环境。 在命令行上依次运行以下命令 # Install the glide package manager curl https : // glide . sh / get | sh # Clone the boilerplate project git clone https : // github . com / sjoshi6 / go - rest - api - boilerplate . git cd go - rest - api - boilerplate # (Optional) Update the dependencies glide update # Installs all dependencies in project vendor f


【文件预览】:
go-rest-api-boilerplate-master
----_config.yml(27B)
----Dockerfile(293B)
----.gitignore(294B)
----routes()
--------users_routes.go(579B)
--------route.go(269B)
----main.go(438B)
----README.md(2KB)
----logger()
--------logger.go(556B)
----middlewares()
--------log_middleware.go(654B)
--------contentcheck_middleware.go(1KB)
----LICENSE(1KB)
----app()
--------config.go(116B)
--------app.go(2KB)
----models()
--------user.go(404B)
----glide.lock(1KB)
----glide.yaml(165B)
----controllers()
--------base.go(368B)
--------users_controller.go(1KB)

网友评论