Skip to content

gamegos/jsend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsend

Build Status GoDoc

Golang JSend library

Installation

$ go get github.com/gamegos/jsend

Usage

import "github.com/gamegos/jsend"

See API documentation

Format

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.

License

MIT. See LICENSE.

About

Go JSend library to wrap json responses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages