mirror of
https://github.com/sloanelybutsurely/typeid-elixir.git
synced 2025-10-04 09:25:38 -04:00
Include instructions for import
This commit is contained in:
parent
21129e0011
commit
8b588cdf20
1 changed files with 5 additions and 0 deletions
|
@ -57,6 +57,11 @@ defmodule TypeID do
|
|||
@doc """
|
||||
A sigil for creating a `TypeID`.
|
||||
|
||||
To use this sigil it will need imported. The `only: :sigils` option makes it easier to avoid
|
||||
importing everything else in the module.
|
||||
|
||||
import TypeID, only: :sigils
|
||||
|
||||
### Example
|
||||
|
||||
iex> ~TYPEID"org_01h45y0sxkfmntta78gqs1vsw6"
|
||||
|
|
Loading…
Reference in a new issue