akrfjmt/di114514

View on GitHub

Showing 1 of 1 total issue

Method container.Define has 9 return statements (exceeds 4 allowed).
Open

func (c *container) Define(name string, value interface{}) error {
    functionReflValue := reflect.ValueOf(value)
    functionReflType := functionReflValue.Type()
    if functionReflType.Kind() != reflect.Func {
        c.instances[name] = value
Severity: Major
Found in container.go - About 55 mins to fix
    Severity
    Category
    Status
    Source
    Language