horizoncd/horizon

View on GitHub
core/http/api/v2/member/routers.go

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Method API.RegisterRoute has 54 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (api *API) RegisterRoute(engine *gin.Engine) {
apiGroup := engine.Group("/apis/core/v2")
 
var routes = route.Routes{
{
Severity: Minor
Found in core/http/api/v2/member/routers.go - About 1 hr to fix
    Category
    Status