MishkaDeveloperTools.Helper.UUID (Mishka developer tools v0.1.9)

View Source

To make the UUID, this module is completely copied from the ecto project under the Apache License 2.0. For more information and more functions, please refer to the following path:

It should be noted that this file only supports uuid version 4. To use other versions in hex, look for another library

Summary

Types

raw()

@type raw() :: <<_::128>>

t()

@type t() :: <<_::288>>

Functions

bingenerate()

@spec bingenerate() :: raw()

cast(uuid)

@spec cast(t() | raw() | any()) :: {:ok, t()} | :error

cast!(uuid)

@spec cast!(t() | raw() | any()) :: t()

generate()

@spec generate() :: t()