fix: lowercase error messages
This commit is contained in:
parent
84122683c4
commit
542fdfd9a6
@ -251,6 +251,6 @@ func getFloat64(unknown interface{}) (float64, error) {
|
|||||||
case uint:
|
case uint:
|
||||||
return float64(i), nil
|
return float64(i), nil
|
||||||
default:
|
default:
|
||||||
return math.NaN(), errors.New("Non-numeric type could not be converted to float")
|
return math.NaN(), errors.New("non-numeric type could not be converted to float")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user