package service import "unicode" func IsNumeric(str string) bool { for _, char := range str { if !unicode.IsDigit(char) { return false } } return true }