Update utils.go

This commit is contained in:
Yuli
2025-03-04 20:38:17 +02:00
committed by GitHub
parent 31c170538e
commit 084a67dcc8

View File

@@ -366,6 +366,9 @@ func LockMemory() error {
}
func CheckValidUUID(uuidCode string) bool {
if len(uuidCode) == 0 {
return false
}
return regexUUID.MatchString(uuidCode)
}