Faker v0.9.0 Faker View Source

Main module to start application with some helper functions.

Link to this section Summary

Functions

Internal function to format string

Returns application locale

Sets application locale

Returns application locale ready for module constract

Starts Faker with default locale

Starts Faker with lang locale

Link to this section Functions

Internal function to format string.

It replaces "#" to random number and "?" to random latin letter.

Link to this function locale() View Source
locale() :: atom

Returns application locale.

Link to this function locale(lang) View Source
locale(atom) :: :ok

Sets application locale.

Returns application locale ready for module constract.

Link to this macro sampler(name, data) View Source (macro)
Link to this macro samplerp(name, data) View Source (macro)

Starts Faker with default locale.

Link to this function start(lang) View Source
start(atom) :: :ok

Starts Faker with lang locale.