vnd
Template for REST API server made with Golang. This template is built on top of echo
.
Features:
- Graceful stop
- Close connections before stop
- Response template error/success/success with pagination
Installation
To install vnd
package, you need to install Go.
- You first need Go installed then you can use the below Go command to install
vnd
.
go get -u github.com/thienhaole92/vnd
- Import it in your code:
import "github.com/thienhaole92/vnd"
Quick start
Starting HTTP server
The example how to use vnd
with to start REST api in example folder.