Adds CSV as an input format

Former-commit-id: a365bb6947064adc2709d66df05fa54c6fe47fad
This commit is contained in:
Eric Coissac
2024-07-03 21:04:27 +02:00
parent 5d9ac261ff
commit bd855c4965
6 changed files with 249 additions and 56 deletions

View File

@ -418,6 +418,10 @@ func IsASlice(value interface{}) bool {
return reflect.TypeOf(value).Kind() == reflect.Slice
}
func IsIntegral(val float64) bool {
return val == float64(int(val))
}
// HasLength checks if the given value has a length.
//
// value: The value to be checked.