example: Add simple router example

This commit is contained in:
Eishun Kondoh 2018-10-09 18:52:56 +09:00
parent 07821494dd
commit ca560c1e03
17 changed files with 621 additions and 0 deletions

View file

@ -0,0 +1,18 @@
defmodule SimpleRouter do
@moduledoc """
Documentation for SimpleRouter.
"""
@doc """
Hello world.
## Examples
iex> SimpleRouter.hello()
:world
"""
def hello do
:world
end
end