Packages

Transforms string maps into nested structs: knits strings into something useful.

Current section

Files

Jump to
knit lib type.ex
Raw

lib/type.ex

defmodule Knit.Type do
@moduledoc """
The Type behavior
"""
@callback convert(any) :: any
defmacro __using__(_) do
quote do
@behaviour Knit.Type
end
end
end