Showing 2 of 2 total issues
Function New
has 7 return statements (exceeds 4 allowed). Open
Open
func New(cfg Config) (*Bcache, error) {
const (
connLimit = 64 // mesh router connection limit
)
Method Bcache.GetWithFiller
has 7 return statements (exceeds 4 allowed). Open
Open
func (b *Bcache) GetWithFiller(key string, filler Filler, ttl int) (string, error) {
if filler == nil {
return "", ErrNilFiller
}