gestalt v0.3.0 Gestalt.Macros View Source
Provides macros that execute Gestalt code only in the :test Mix environment. In other environments, Gestalt is compiled out and either Application or System is used.
Usage
defmodule MyApp.Config do
use Gestalt
def config_value(),
do: gestalt_config(:my_app, :config, self())
def env_value(),
do: gestalt_env("ENVIRONMENT_VARIABLE", self())
end