package
2.12.0
Repository: https://github.com/hamba/pkg.git
Documentation: pkg.go.dev

# Functions

JSON writes a JSON response.
JSONError writes a JSON error message.
JSONErrorf writes a JSON error message.
JSONInternalServerError writes a JSON internal server error.

# Constants

JSONContentType represents MIME type for JSON content.

# Structs

APIError contains error information that is rendered by JSONError.