Versions in this module Expand all Collapse all v1 v1.0.0 Feb 19, 2020 Changes in this version + var ErrNotValidJson = errors.New("not a valid json") + func CheckPathVariables(params map[string]string, pathVariables ...string) error + func Error(w http.ResponseWriter, err error, code int) (int, error) + func GetBody(reader io.ReadCloser, result interface{}) error + func GetPathVariable(key string, params map[string]string) string + func Marshalled(w http.ResponseWriter, v interface{}, code int) (int, error) + func Response(w http.ResponseWriter, body []byte, code int) (int, error)