View Source Faker.Internet.En (Faker v0.18.0)

Generating internet related data in English

Summary

Functions

Returns a random domain suffix

Returns a random free email service name

Functions

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

Returns a random domain suffix

Examples

iex> Faker.Internet.En.domain_suffix()
"com"
iex> Faker.Internet.En.domain_suffix()
"org"
iex> Faker.Internet.En.domain_suffix()
"name"
iex> Faker.Internet.En.domain_suffix()
"info"
@spec free_email_service() :: String

Returns a random free email service name

Examples

iex> Faker.Internet.En.free_email_service()
"gmail.com"
iex> Faker.Internet.En.free_email_service()
"hotmail.com"
iex> Faker.Internet.En.free_email_service()
"gmail.com"
iex> Faker.Internet.En.free_email_service()
"hotmail.com"