1
0
mirror of https://github.com/kataras/iris.git synced 2026-05-14 18:13:49 +00:00

Add new PartyConfigure helper

This commit is contained in:
Gerasimos (Makis) Maropoulos
2021-02-17 16:50:36 +02:00
parent 5ccd80a6cd
commit cbf70a7bcf
3 changed files with 37 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ The codebase for Dependency Injection, Internationalization and localization and
## Fixes and Improvements
- New `PartyConfigure(relativePath string, partyReg PartyConfigurator) Party` helper, registers a children Party like `Party` and `PartyFunc` but instead it accepts a structure value (useful when the api's dependencies amount are too much to pass on a function).
- **New feature:** add the ability to set custom error handlers on path type parameters errors (existing or custom ones). Example Code:
```go