elixir-maru / maru

Elixir RESTful Framework
https://maru.readme.io
BSD 3-Clause "New" or "Revised" License
1.32k stars 85 forks source link

Fix readme so that the example compiles #112

Closed moxley closed 6 years ago

moxley commented 6 years ago

Fixes up the example in the README.md to get it to compile.

The addition of parentheses and the whitespace changes are from Elixir formatter, automatically added by my editor. Let me know if you want those backed out.

falood commented 6 years ago

Thanks. I think it's good idea to move MyApp.Server at the beginning of the docs, but about the formatter, it's better to add import_deps: [:maru] to .formatter.exs, so that we don't need addition parentheses

moxley commented 6 years ago

Very good point. Now updated with the maru formatter settings.

falood commented 6 years ago

@moxley Thanks@