Versions in this module Expand all Collapse all v2 v2.0.0 May 4, 2022 Changes in this version + var HTMLEngineCtxKey = &contextKey + func Data(w http.ResponseWriter, r *http.Request, status int, v []byte) + func HTML(w http.ResponseWriter, r *http.Request, status int, name string, v any) + func JSON(w http.ResponseWriter, r *http.Request, status int, v any) + func NoContent(w http.ResponseWriter, r *http.Request) + func PureJSON(w http.ResponseWriter, r *http.Request, status int, v any) + func Text(w http.ResponseWriter, r *http.Request, status int, v string) + func XML(w http.ResponseWriter, r *http.Request, status int, v any) + type ExecuteTemplate interface + ExecuteTemplate func(w io.Writer, name string, data any) error + func HTMLEngine(ctx context.Context) ExecuteTemplate + type M map[string]any + type S []any Other modules containing this package github.com/SirMetathyst/go-response