Skip to content

Commit 8f2419b

Browse files
committed
don't include the config callback yet
1 parent 6c4042d commit 8f2419b

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

lib/fun_with_flags.ex

-5
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,4 @@ defmodule FunWithFlags do
88
"""
99

1010
use FunWithFlags.EntryPoint
11-
12-
@impl true
13-
def config do
14-
{:ok, []}
15-
end
1611
end

lib/fun_with_flags/entry_point.ex

-8
Original file line numberDiff line numberDiff line change
@@ -543,12 +543,4 @@ defmodule FunWithFlags.EntryPoint do
543543

544544
end
545545
end
546-
547-
@doc """
548-
An entry point must define this callback to provide its configuration.
549-
550-
This function is supposed to retrieve any runtime config (e.g. ENV vars) and
551-
return it as a keyword list.
552-
"""
553-
@callback config() :: {:ok, Keyword.t()}
554546
end

0 commit comments

Comments
 (0)