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