Packages

PrivateModule is a library that allows to have the concept of private modules, where a PrivateModule is a module that can only be used by the parent module.

Current section

Files

Jump to
Raw

README.md

# PrivateModule
[![Hex.pm](https://img.shields.io/hexpm/v/private_module.svg)](https://hex.pm/packages/private_module)
[![Documentation](https://img.shields.io/badge/documentation-hexdocs-blue.svg)](https://hexdocs.pm/private_module)
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](https://github.com/sasa1977/boundary).
## Documentation
For a detailed documentation, please visit the [HexDocs](https://hexdocs.pm/private_module).