mirror of
https://github.com/gofiber/fiber.git
synced 2025-02-21 19:32:58 +00:00
🚀 improve routing behavior
This commit is contained in:
parent
8c4f346a33
commit
582b10a6d4
1
path.go
1
path.go
@ -156,6 +156,7 @@ func findNextCharsetPosition(search string, charset []byte) int {
|
||||
return nextPosition
|
||||
}
|
||||
|
||||
// TODO: check performance
|
||||
// getMatch parses the passed url and tries to match it against the route segments and determine the parameter positions
|
||||
func (p *routeParser) getMatch(s string, partialCheck bool) ([][2]int, bool) {
|
||||
lenKeys := len(p.params)
|
||||
|
Loading…
x
Reference in New Issue
Block a user