-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RFC] Rework on iterator using go 1.23 range over function (#38)
* feat: wip per route options * feat: wip per route options * feat: wip per route options * Revert "feat: wip per route options" This reverts commit fb7f2e1. * feat: make sure that tree from different router cannot be swapped * feat: wip per route options * feat: wip per route options * feat: improve test coverage * feat: improve test coverage * feat: better handle stack frame skipping with recovery handler * feat: improve test coverage * feat: improve test coverage * feat: disable some lint rules * feat: replace sort.Slice by slices.SortFunc to improve sort performance * docs: fix comment for options that can be applied on a route basis. * feat: remove Route.HandleWithMiddleware API as it's not clear for now how and when to use it. * feat: make FixTrailingSlash public * feat: rework on the Match method * feat: rework on iterator using range over function * feat(iterator): optimize allocation on the stack when possible * feat(iter): improve test coverage * feat(iter): improve test coverage * feat(iter): use bigger stackSizeThreshold * feat(iter): improve test coverage
- Loading branch information
1 parent
07edc7e
commit 7f4be76
Showing
7 changed files
with
430 additions
and
313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.