mirror of
https://github.com/outbackdingo/databunker.git
synced 2026-01-27 10:18:45 +00:00
Update utils.go
This commit is contained in:
@@ -366,6 +366,9 @@ func LockMemory() error {
|
||||
}
|
||||
|
||||
func CheckValidUUID(uuidCode string) bool {
|
||||
if len(uuidCode) == 0 {
|
||||
return false
|
||||
}
|
||||
return regexUUID.MatchString(uuidCode)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user