stretchr/objx

View on GitHub
type_specific.go

Summary

Maintainability
A
35 mins
Test Coverage
A
99%

Value has 22 methods (exceeds 20 allowed). Consider refactoring.
Wontfix

func (v *Value) MSI(optionalDefault ...map[string]interface{}) map[string]interface{} {
    if s, ok := v.data.(map[string]interface{}); ok {
        return s
    }
    if s, ok := v.data.(Map); ok {
Severity: Minor
Found in type_specific.go - About 2 hrs to fix

Method Value.ObjxMapSlice has 5 return statements (exceeds 4 allowed).
Open

func (v *Value) ObjxMapSlice(optionalDefault ...[](Map)) [](Map) {
    if s, ok := v.data.([]Map); ok {
        return s
    }

Severity: Major
Found in type_specific.go - About 35 mins to fix

There are no issues that match your filters.

Category
Status