yasshi2525/RushHour

View on GitHub
main.go

Summary

Maintainability
A
1 hr
Test Coverage
F
50%

Function setupRouter has 72 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func setupRouter(secret string) *gin.Engine {
    binding.Validator = new(v1.DefaultValidator)
    router := gin.New()
    router.Use(gin.Recovery())

Severity: Minor
Found in main.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status