api/routes.go
Function SetupRoutes
has 96 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func SetupRoutes(router *gin.Engine) {
router.GET("/health_check", HealthCheckHandler)
operations := router.Group("operations")
operations.POST("/capture_start", CaptureStartHandler)