package utilx import "strconv" func IsNumeric(str string) bool { _, err := strconv.ParseFloat(str, 64) return err == nil }