crgimenes/goConfig

View on GitHub
config.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func Parse(config interface{}) (err error) {
    goenv.Prefix = PrefixEnv
    goenv.Setup(Tag, TagDefault)
    err = structtag.SetBoolDefaults(config, "")
    if err != nil {
Severity: Major
Found in config.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status