Bnei-Baruch/mdb

View on GitHub
api/routes.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function SetupRoutes has 96 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func SetupRoutes(router *gin.Engine) {
    router.GET("/health_check", HealthCheckHandler)

    operations := router.Group("operations")
    operations.POST("/capture_start", CaptureStartHandler)
Severity: Major
Found in api/routes.go - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status