mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2024-11-16 16:41:12 +00:00
11 lines
128 B
Go
11 lines
128 B
Go
package uuid
|
|
|
|
import (
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
func IsValid(u string) bool {
|
|
_, err := uuid.Parse(u)
|
|
return err == nil
|
|
}
|