ContextID (ContextID v0.1.0)

A module for generating custom identifiers.

Summary

Functions

Gets the default length for generated identifiers.

Gets the default prefix for generated identifiers.

Generates a custom identifier with a specified prefix and of a specified length.

Functions

Link to this function

default_length()

Gets the default length for generated identifiers.

The default length is used when no length is provided during ID generation.

Link to this function

default_prefix()

Gets the default prefix for generated identifiers.

The default prefix is used when no prefix is provided during ID generation.

Link to this function

generate_id(prefix \\ default_prefix(), length \\ default_length())

Generates a custom identifier with a specified prefix and of a specified length.