stretchr / objx

Go package for dealing with maps, slices, JSON and other data.
MIT License
701 stars 75 forks source link

Fix "method_complexity" issue in accessors.go #50

Closed hanzei closed 5 years ago

hanzei commented 6 years ago

Function access has a Cognitive Complexity of 36 (exceeds 5 allowed). Consider refactoring.

https://codeclimate.com/github/stretchr/objx/accessors.go#issue_5a6a540d2bddfc0001000029