Versions in this module Expand all Collapse all v0 v0.1.0 Apr 10, 2025 Changes in this version + func RenderError(w http.ResponseWriter, status int, err error, opts *ErrorOptions) + func RenderJSON(w http.ResponseWriter, status int, data interface{}) + type ErrorOptions struct + Code *int + type ErrorResponse struct + Code *int + Error string + type Response struct + Data interface{}