1
0
mirror of https://github.com/labstack/echo.git synced 2025-07-03 00:56:59 +02:00

Merge branch 'master' of https://github.com/meehow/echo into meehow-master

This commit is contained in:
Vishal Rana
2019-07-17 18:31:55 -07:00
2 changed files with 9 additions and 0 deletions

View File

@ -218,6 +218,9 @@ func (n *node) findChildWithLabel(l byte) *node {
}
func (n *node) findChildByKind(t kind) *node {
if n == nil {
return nil
}
for _, c := range n.children {
if c.kind == t {
return c