(path string)
| 527 | } |
| 528 | |
| 529 | func normalizePathSlash(path string) string { |
| 530 | if path == "" { |
| 531 | path = "/" |
| 532 | } else if path[0] != '/' { |
| 533 | path = "/" + path |
| 534 | } |
| 535 | return path |
| 536 | } |
| 537 | |
| 538 | func (r *DefaultRouter) storeRouteInfo(ri RouteInfo) { |
| 539 | for i, rr := range r.routes { |
no outgoing calls
no test coverage detected
searching dependent graphs…