gofr-dev/gofr

View on GitHub

Showing 3 of 3 total issues

File gofr.go has 498 lines of code (exceeds 300 allowed). Consider refactoring.
Open

package gofr

import (
    "context"
    "errors"
Severity: Minor
Found in pkg/gofr/gofr.go - About 6 hrs to fix

    App has 32 methods (exceeds 25 allowed). Consider refactoring.
    Open

    type App struct {
        // Config can be used by applications to fetch custom configurations from environment or file.
        Config config.Config // If we directly embed, unnecessary confusion between app.Get and app.GET will happen.
    
        grpcServer   *grpcServer
    Severity: Minor
    Found in pkg/gofr/gofr.go - About 3 hrs to fix

      Out has 26 methods (exceeds 25 allowed). Consider refactoring.
      Open

      type Out struct {
          terminal
          out io.Writer
      }
      Severity: Minor
      Found in pkg/gofr/cmd/terminal/output.go - About 2 hrs to fix
        Severity
        Category
        Status
        Source
        Language