bnkamalesh/webgo

View on GitHub
cmd/main.go

Summary

Maintainability
A
1 hr
Test Coverage

Function getRoutes has 59 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func getRoutes(sse *sse.SSE) []*webgo.Route {
    return []*webgo.Route{
        {
            Name:          "root",
            Method:        http.MethodGet,
Severity: Minor
Found in cmd/main.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status