Help us shape the future of Go! Take the 2026 Go Developer Survey

levels

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Command levels enforces ursus's import-level invariant:

a package may import strictly lower levels only.

This is what keeps the layout acyclic and, more importantly, keeps it *comprehensible*: the root package must never import selector, sql, or ursustest, and the engine must never import the root. Both are easy to violate with a single convenience method, and neither produces a compile error until the cycle actually closes — by which point the fix is a refactor.

Run via `make levels`; wired into CI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL