12 lines
257 B
Elixir
12 lines
257 B
Elixir
defmodule Scopes.Demo.Application do
|
|
use Application
|
|
|
|
@impl true
|
|
def start(_type, _args) do
|
|
IO.puts("Hello World")
|
|
children = []
|
|
opts = [strategy: :one_for_one, name: Scopes.Supervisor]
|
|
Supervisor.start_link(children, opts)
|
|
end
|
|
end
|
|
|