0Pricing
Mojo Academy · Lesson

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

  1. Modules and Imports
  2. Building a .mojopkg
  3. Public APIs and Structure
  4. Project Layout Best Practices
← Back to Mojo Academy