example: Add simple router example (#12)

This commit is contained in:
Eishun Kondoh 2018-10-09 18:55:41 +09:00 committed by GitHub
parent 07821494dd
commit 5049e0643a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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