lbryio/chainquery

View on GitHub
lbrycrd/client.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func decodeFloat(data interface{}) (interface{}, error) {
    if n, ok := data.(json.Number); ok {
        val, err := n.Float64()
        if err != nil {
            return nil, errors.Wrap(err, 0)
Severity: Major
Found in lbrycrd/client.go - About 35 mins to fix

Your code does not pass gofmt in 2 places. Go fmt your code!
Open

package lbrycrd
Severity: Minor
Found in lbrycrd/client.go by gofmt

There are no issues that match your filters.

Category
Status