Genie.Loader.autoload — FunctionautoloadAutomatically and recursively includes files from the indicated root_dir into the indicated context module, skipping directories from dir. The files are set up with Revise to be automatically reloaded when changed (in dev environment).
Genie.Loader.bootstrap — Functionbootstrap(context::Union{Module,Nothing} = nothing) :: NothingKickstarts the loading of a Genie app by loading the environment settings.
Genie.Loader.default_context — Functiondefault_context(context::Union{Module,Nothing})Sets the module in which the code is loaded (the app's module)
Genie.Loader.load — Functionload(; context::Union{Module,Nothing} = nothing) :: NothingMain entry point to loading a Genie app.
Genie.Loader.load_helpers — Functionload_helpers(root_dir::String = Genie.config.path_helpers) :: NothingAutomatically recursively includes files from helpers/ and subfolders.
Genie.Loader.load_initializers — Functionload_initializers(root_dir::String = Genie.config.path_config; context::Union{Module,Nothing} = nothing) :: NothingAutomatically recursively includes files from initializers/ and subfolders.
Genie.Loader.load_libs — Functionload_libs(root_dir::String = Genie.config.path_lib) :: NothingRecursively includes files from lib/ and subfolders. The lib/ folder, if present, is designed to host user code in the form of .jl files.
Genie.Loader.load_plugins — Functionload_plugins(root_dir::String = Genie.config.path_plugins; context::Union{Module,Nothing} = nothing) :: NothingAutomatically recursively includes files from plugins/ and subfolders.
Genie.Loader.load_resources — Functionload_resources(root_dir::String = Genie.config.path_resources) :: NothingAutomatically recursively includes files from resources/ and subfolders.
Genie.Loader.load_routes — Functionload_routes(routes_file::String = Genie.ROUTES_FILE_NAME; context::Union{Module,Nothing} = nothing) :: NothingLoads the routes file.