Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/google/uuid
/ Version
Method
Version
uuid.go:314–316 · uuid.go::UUID.Version
Version returns the version of uuid.
()
Source
from the content-addressed store, hash-verified
312
313
// Version returns the version of uuid.
314
func
(uuid UUID) Version() Version {
315
return
Version(uuid[6] >> 4)
316
}
317
318
func
(v Version) String() string {
319
if
v > 15 {
Callers
12
Time
Method · 0.95
TestVersion1
Function · 0.95
testTest
Function · 0.80
TestRandomUUID
Function · 0.80
TestRandomUUID_Pooled
Function · 0.80
TestNew
Function · 0.80
testDCE
Function · 0.80
TestVersion6
Function · 0.80
TestVersion7
Function · 0.80
TestVersion7_pooled
Function · 0.80
TestNewV6WithTime
Function · 0.80
TestNewV6FromTimeGeneratesUniqueUUIDs
Function · 0.80
Calls
1
Version
TypeAlias · 0.85
Tested by
11
TestVersion1
Function · 0.76
testTest
Function · 0.64
TestRandomUUID
Function · 0.64
TestRandomUUID_Pooled
Function · 0.64
TestNew
Function · 0.64
testDCE
Function · 0.64
TestVersion6
Function · 0.64
TestVersion7
Function · 0.64
TestVersion7_pooled
Function · 0.64
TestNewV6WithTime
Function · 0.64
TestNewV6FromTimeGeneratesUniqueUUIDs
Function · 0.64