Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bnkamalesh committed Oct 20, 2024
1 parent a6e1e59 commit bf9f036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ func httpHandlers(routes []*Route) map[string][]*Route {
return nil
}

if route.Handlers == nil || len(route.Handlers) == 0 {
if len(route.Handlers) == 0 {
LOGHANDLER.Fatal(
fmt.Sprintf(
"No handlers provided for the route '%s', method '%s'",
Expand Down

0 comments on commit bf9f036

Please sign in to comment.