diff options
Diffstat (limited to 'priv/templates/app.erl')
-rw-r--r-- | priv/templates/app.erl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/priv/templates/app.erl b/priv/templates/app.erl new file mode 100644 index 0000000..83eb9a3 --- /dev/null +++ b/priv/templates/app.erl @@ -0,0 +1,27 @@ +%%%------------------------------------------------------------------- +%% @doc {{name}} public API +%% @end +%%%------------------------------------------------------------------- + +-module({{name}}_app). + +-behaviour(application). + +%% Application callbacks +-export([start/2 + ,stop/1]). + +%%==================================================================== +%% API +%%==================================================================== + +start(_StartType, _StartArgs) -> + {{name}}_sup:start_link(). + +%%-------------------------------------------------------------------- +stop(_State) -> + ok. + +%%==================================================================== +%% Internal functions +%%==================================================================== |