mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
all: Apply staticcheck recommendations
This commit is contained in:
@@ -38,7 +38,7 @@ func numberToFloat(v reflect.Value) (float64, error) {
|
||||
case kind == reflect.Interface:
|
||||
return numberToFloat(v.Elem())
|
||||
default:
|
||||
return 0, fmt.Errorf("Invalid kind %s in numberToFloat", kind)
|
||||
return 0, fmt.Errorf("invalid kind %s in numberToFloat", kind)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user