Golang JSend library
$ go get github.com/gamegos/jsend
import "github.com/gamegos/jsend"
Jsend is a very simple json format to wrap your json responses.
{
"status": "success|fail|error",
"data": {
"your data": "here..."
},
"message": "error message when status is error"
}
See JSend specification for details.
MIT. See LICENSE.