diff --git a/lib/fun_with_flags.ex b/lib/fun_with_flags.ex index 6abe65c..da64c85 100644 --- a/lib/fun_with_flags.ex +++ b/lib/fun_with_flags.ex @@ -8,9 +8,4 @@ defmodule FunWithFlags do """ use FunWithFlags.EntryPoint - - @impl true - def config do - {:ok, []} - end end diff --git a/lib/fun_with_flags/entry_point.ex b/lib/fun_with_flags/entry_point.ex index f1e55bf..d4e3196 100644 --- a/lib/fun_with_flags/entry_point.ex +++ b/lib/fun_with_flags/entry_point.ex @@ -43,8 +43,6 @@ defmodule FunWithFlags.EntryPoint do @doc false defmacro __using__(opts) do quote bind_quoted: [opts: opts] do - @behaviour FunWithFlags.EntryPoint - alias FunWithFlags.{Config, Flag, Gate} @store FunWithFlags.Config.store_module_determined_at_compile_time() @@ -543,12 +541,4 @@ defmodule FunWithFlags.EntryPoint do end end - - @doc """ - An entry point must define this callback to provide its configuration. - - This function is supposed to retrieve any runtime config (e.g. ENV vars) and - return it as a keyword list. - """ - @callback config() :: {:ok, Keyword.t()} end