Files
miti99bot/internal/modules/modules.go
T
tiennm99 cf620a257e docs: fix stale code comments and add missing package docs
Correct comments that described the retired webhook transport, a removed
/cron route, the old KV store and wrapper types, and behaviour that has since
changed; drop plan and review labels; reword two startup log lines that
overstated or misnamed what they report.
2026-09-30 14:19:01 +07:00

11 lines
630 B
Go

// Package modules is the bot's module framework: the Module, Command, Callback
// and Cron types a feature package declares, the Registry that Build assembles
// from the MODULES selection, and the dispatcher that Install wires into the
// Telegram bot with visibility-based authorization.
//
// The module catalog (name → Factory) does not live here. Concrete modules are
// subpackages (internal/modules/util, /misc, …) that import this package, so
// keeping the catalog here would create an import cycle. The composition root
// in cmd/server owns it instead, and tests pass their own catalog into Build.
package modules