corrected isLetter to hex letters (not alphabetic letters)

This commit is contained in:
denver 2023-04-12 01:36:37 +03:00
parent e17b938ef2
commit 43070c0642

View File

@ -29,5 +29,5 @@ func UuidValidate(uuid string) error {
func isLetter(r rune) bool { func isLetter(r rune) bool {
l := unicode.ToLower(r) l := unicode.ToLower(r)
return (l >= 'a' && l <= 'z') return (l >= 'a' && l <= 'f')
} }