PrivateModule

Hex.pmDocumentation

PrivateModule is an Elixir library that introduces the concept of private modules - modules that can only be used within their parent module. This helps enforce encapsulation and prevents external access to internal implementation details.

For a more flexible approach consider using boundary.

Documentation

For a detailed documentation, please visit the HexDocs.