mirror of
https://github.com/VaalaCat/frp-panel.git
synced 2025-09-26 19:31:18 +08:00
16 lines
230 B
Go
16 lines
230 B
Go
package utils
|
|
|
|
import (
|
|
"strings"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
func GenerateUUIDWithoutSeperator() string {
|
|
return strings.Replace(uuid.New().String(), "-", "", -1)
|
|
}
|
|
|
|
func GenerateUUID() string {
|
|
return uuid.New().String()
|
|
}
|