From 542fdfd9a697a279445c38a3b687c77ee81ea832 Mon Sep 17 00:00:00 2001 From: Florian Baumann Date: Mon, 19 Feb 2024 08:17:16 +0100 Subject: [PATCH] fix: lowercase error messages --- src/serra/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serra/helpers.go b/src/serra/helpers.go index aa3540a..975f070 100644 --- a/src/serra/helpers.go +++ b/src/serra/helpers.go @@ -251,6 +251,6 @@ func getFloat64(unknown interface{}) (float64, error) { case uint: return float64(i), nil 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") } }