route.go
Method Route.matchWithWildcard
has 5 return statements (exceeds 4 allowed). Open
Open
func (r *Route) matchWithWildcard(requestURI string) (bool, map[string]string) {
// if r.fragments is empty, it means there are no variables in the URI pattern
// hence no point checking
if len(r.fragments) == 0 {
return false, nil