hunterlong/statup

View on GitHub
handlers/routes.go

Summary

Maintainability
A
3 hrs
Test Coverage

Function Router has 120 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func Router() *mux.Router {
    dir := utils.Directory

    r := mux.NewRouter().StrictSlash(true)
    r.Use(prometheusMiddleware)
Severity: Major
Found in handlers/routes.go - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status