View Source Commanded.UUID (Commanded v1.4.6)
Generate and format random, version 4 UUIDs.
Summary
Functions
Converts a string representing a UUID into a raw binary.
Generates a random, version 4 UUID.
Types
@type hex() :: <<_::288>>
A hex-encoded UUID string.
@type raw() :: <<_::128>>
A raw binary representation of a UUID.
Functions
Converts a string representing a UUID into a raw binary.
@spec uuid4() :: hex()
Generates a random, version 4 UUID.