mirror of
https://github.com/VaalaCat/frp-panel.git
synced 2025-09-27 03:36:10 +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()
|
|
}
|