Skip to content

Releases: samuelsih/httpwr

fix: Header Content-Type is not application/json

20 Jul 18:46
Compare
Choose a tag to compare
v0.4.1

fix: content type header is not json

Generics on return custom data

20 Jul 18:35
Compare
Choose a tag to compare

httpwr.OKWithData now supports generics

http.HandlerFunc adapter

20 Jul 14:52
Compare
Choose a tag to compare

Add New

  1. httpwr.HandlerFn that will return http.HandlerFunc
  2. httpwr.CustomHandlerFn that will return http.HandlerFunc but with custom httpwr.ErrorHandler

New Handler Wrapper

19 Jul 17:19
Compare
Choose a tag to compare
  • Add httpwr.F with the same function as httpwr.NewF
  • httpwr.NewF still in the packages for backward compatibility

v0.1.0

19 Jul 04:55
Compare
Choose a tag to compare

First version of the API

Satisfy linter on (*json.NewEncoder).Encode

19 Jul 14:42
Compare
Choose a tag to compare