Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a2cd0ef199
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (16 sloc) 0.397 kb
-module(example1).
-export([hello/0,
enable/1,
disable/1,
test1/0,
test2/0]).
hello() ->
io:format("[example1] hello~n").
enable(Conf) ->
io:format("[example1] we have been enabled!~n~p~n", [Conf]).
disable(Conf) ->
io:format("[example1] we have been disabled!~n~p~n", [Conf]).
test1() ->
true.
test2() ->
{error, "we always fail!"}.
Jump to Line
Something went wrong with that request. Please try again.