Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/google/uuid
/ Version
Method
Version
uuid.go:286–288 ·
view source on GitHub ↗
Version returns the version of uuid.
()
Source
from the content-addressed store, hash-verified
284
285
// Version returns the version of uuid.
286
func
(uuid UUID) Version() Version {
287
return
Version(uuid[6] >> 4)
288
}
289
290
func
(v Version) String() string {
291
if
v > 15 {
Callers
10
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
Calls
1
Version
TypeAlias · 0.85
Tested by
9
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