In Odin, packages are directories. The system is designed to be straightforward, avoiding the complex dependency nesting found in other languages.

The Golden Rule: One Folder, One Package


Project Structure & Imports

We assume a standard project structure where your root contains your entry point (like main.odin) or your ols.json configuration.

Key Distinctions


Pro-tip: If you find yourself overthinking it, remember: If it's in a new folder, it's a new package. If it's in the same folder, it's the same package.