iavael/goutil

View on GitHub

Showing 1 of 6 total issues

Function NewMultiConfig has 5 return statements (exceeds 4 allowed).
Open

func NewMultiConfig(file string, cfgver IConfigVer, cfgmap func(int) IConfig) (IConfig, error) {
    var (
        buf []byte
        err error
        cfg IConfig
Severity: Major
Found in config.go - About 35 mins to fix
    Severity
    Category
    Status
    Source
    Language