GenerateUUID 生成uuid
()
| 7 | |
| 8 | // GenerateUUID 生成uuid |
| 9 | func GenerateUUID() string { |
| 10 | oldId := uuid.New() |
| 11 | key := oldId.String() |
| 12 | id := strings.ReplaceAll(key, "-", "") |
| 13 | return id |
| 14 | } |
nothing calls this directly
no outgoing calls
no test coverage detected