package
1.0.12
Repository: https://github.com/filllabs/sincap-common.git
Documentation: pkg.go.dev

# Functions

Data renders the given data as a json with X-Total-Count header.
Err renders the given error as json with the given status.
Status204 returns 204 no content.
Status401 renders the 401 error as json with the status Unauthorized.
Status403 renders the 403 error as json with the status Forbidden.
Status404 renders the 404 error as json with the status Not Found.
Status500 renders the 500 error as json with the status Internal Server Error.