Releases: samuelsih/httpwr
Releases · samuelsih/httpwr
fix: Header Content-Type is not application/json
Generics on return custom data
httpwr.OKWithData
now supports generics
http.HandlerFunc adapter
Add New
httpwr.HandlerFn
that will returnhttp.HandlerFunc
httpwr.CustomHandlerFn
that will returnhttp.HandlerFunc
but with customhttpwr.ErrorHandler
New Handler Wrapper
- Add
httpwr.F
with the same function ashttpwr.NewF
httpwr.NewF
still in the packages for backward compatibility
v0.1.0
Satisfy linter on (*json.NewEncoder).Encode
v.0.1.1 ci: satisfy lint