View Source Faker.UUID (Faker v0.18.0)

Functions for generating UUID's.

Summary

Functions

Generate a random v4 UUID.

Functions

@spec v4() :: String.t()

Generate a random v4 UUID.

Examples

iex> Faker.UUID.v4()
"d6d98b88-c866-4496-9bd4-de7ba48d0f52"
iex> Faker.UUID.v4()
"29fa7bf9-0728-4272-a7bc-5b7c964f332d"
iex> Faker.UUID.v4()
"c9edd02c-c9f3-41de-b9d9-22a146bf8550"
iex> Faker.UUID.v4()
"8a5f03ff-1875-4bf3-a3f4-aef1264e3bcc"