mirror of
https://github.com/go-eagle/eagle.git
synced 2025-10-01 06:42:16 +08:00
12 lines
148 B
Go
12 lines
148 B
Go
package lock
|
|
|
|
import (
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
// genToken 生成token
|
|
func genToken() string {
|
|
u, _ := uuid.NewRandom()
|
|
return u.String()
|
|
}
|