iwanbk/bcache

View on GitHub

Showing 2 of 2 total issues

Function New has 7 return statements (exceeds 4 allowed).
Open

func New(cfg Config) (*Bcache, error) {
    const (
        connLimit = 64 // mesh router connection limit
    )

Severity: Major
Found in bcache.go - About 45 mins to fix

    Method Bcache.GetWithFiller has 7 return statements (exceeds 4 allowed).
    Open

    func (b *Bcache) GetWithFiller(key string, filler Filler, ttl int) (string, error) {
        if filler == nil {
            return "", ErrNilFiller
        }
    
    
    Severity: Major
    Found in bcache.go - About 45 mins to fix
      Severity
      Category
      Status
      Source
      Language