Versions in this module Expand all Collapse all v0 v0.1.0 May 6, 2021 Changes in this version + func JSON(w http.ResponseWriter, r *http.Request, ren Renderer) + type DefaultError struct + ErrorCode string + Message string + StatusCode int + func (e *DefaultError) Error() string + func (e *DefaultError) Render(w http.ResponseWriter, r *http.Request) error + type Renderer interface + Render func(http.ResponseWriter, *http.Request) error