MCPcopy Index your code
hub / github.com/labstack/echo / findStaticChild

Method findStaticChild

router.go:706–713  ·  view source on GitHub ↗
(l byte)

Source from the content-addressed store, hash-verified

704}
705
706func (n *node) findStaticChild(l byte) *node {
707 for _, c := range n.staticChildren {
708 if c.label == l {
709 return c
710 }
711 }
712 return nil
713}
714
715func (n *node) findChildWithLabel(l byte) *node {
716 if c := n.findStaticChild(l); c != nil {

Callers 3

findChildWithLabelMethod · 0.95
RemoveMethod · 0.80
RouteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected