When declaring imports follow the following convention:
- Specify the module name
module fancymodule.functions;
- Import all std modules
import std.stdio;
- Import all external library modules
import dsfml.system;
- Import all modules part of your project
import fancymodule.actions;
- Have a module named
all
that only publicly imports all of your library's modules: