Public APIs and Structure
Decide what to expose.
What You Show Matters
A good library is judged by its surface. Deciding what to expose shapes how easy your API is to use. 🚪
Your Public API
The functions and types other code is meant to call form your public API. It is the promise you keep to users.
All lessons in this course
- Modules and Imports
- Building a .mojopkg
- Public APIs and Structure
- Project Layout Best Practices