MCPcopy Index your code

hub / github.com/nu7hatch/gouuid / functions

Functions20 in github.com/nu7hatch/gouuid

↓ 27 callersMethodString
Returns unparsed version of the generated UUID sequence.
uuid.go:171
↓ 7 callersFunctionParseHex
ParseHex creates a UUID object from given hex string representation. Function accepts UUID string in following formats: uuid.ParseHex("6ba7b814-9dad-
uuid.go:56
↓ 6 callersMethodVariant
Variant returns the UUID Variant, which determines the internal layout of the UUID. This will be one of the constants: RESERVED_NCS, RFC_4122, RESERVE
uuid.go:147
↓ 6 callersMethodVersion
Version returns a version number of the algorithm used to generate the UUID sequence.
uuid.go:166
↓ 4 callersFunctionNewV3
Generate a UUID based on the MD5 hash of a namespace identifier and a name.
uuid.go:85
↓ 4 callersFunctionNewV5
Generate a UUID based on the SHA-1 hash of a namespace identifier and a name.
uuid.go:113
↓ 3 callersFunctionNewV4
Generate a random UUID.
uuid.go:99
↓ 3 callersMethodsetVariant
Set the two most significant bits (bits 6 and 7) of the clock_seq_hi_and_reserved to zero and one, respectively.
uuid.go:133
↓ 3 callersMethodsetVersion
Set the four most significant bits (bits 12 through 15) of the time_hi_and_version field to the 4-bit version number.
uuid.go:160
↓ 2 callersFunctionParse
Parse creates a UUID object from given bytes slice.
uuid.go:73
↓ 2 callersMethodsetBytesFromHash
Generate a MD5 hash of a namespace and a name, and copy it to the UUID slice.
uuid.go:125
FunctionBenchmarkParseHex
(b *testing.B)
uuid_test.go:125
FunctionExampleNewV4
()
example_test.go:8
FunctionExampleNewV5
()
example_test.go:17
FunctionExampleParseHex
()
example_test.go:26
FunctionTestNewV3
(t *testing.T)
uuid_test.go:47
FunctionTestNewV4
(t *testing.T)
uuid_test.go:77
FunctionTestNewV5
(t *testing.T)
uuid_test.go:95
FunctionTestParse
(t *testing.T)
uuid_test.go:15
FunctionTestParseString
(t *testing.T)
uuid_test.go:31