MCPcopy Create free account
hub / github.com/coderabbit214/document-ai / GenerateUUID

Function GenerateUUID

pkg/common/uuid.go:9–14  ·  view source on GitHub ↗

GenerateUUID 生成uuid

()

Source from the content-addressed store, hash-verified

7
8// GenerateUUID 生成uuid
9func GenerateUUID() string {
10 oldId := uuid.New()
11 key := oldId.String()
12 id := strings.ReplaceAll(key, "-", "")
13 return id
14}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected