mirror of
https://github.com/kataras/iris.git
synced 2026-01-24 20:35:59 +00:00
minor improvements
This commit is contained in:
@@ -28,6 +28,10 @@ The codebase for Dependency Injection, Internationalization and localization and
|
||||
|
||||
## Fixes and Improvements
|
||||
|
||||
- `Context.JSON` respects any object implements the `easyjson.Marshaler` interface and renders the result using the [easyjon](https://github.com/mailru/easyjson)'s writer.
|
||||
|
||||
- minor: `Context` structure implements the standard go Context interface now (includes: Deadline, Done, Err and Value methods). Handlers can now just pass the `ctx iris.Context` as a shortcut of `ctx.Request().Context()` when needed.
|
||||
|
||||
- New [x/jsonx](x/jsonx) sub-package for JSON type helpers.
|
||||
|
||||
- New [x/mathx](x/mathx) sub-package for math related functions.
|
||||
|
||||
Reference in New Issue
Block a user