register

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package register imports all action handler packages to trigger their init() functions. This package should be imported from cmd/mooncake.go to register all handlers.

This package exists separately from internal/actions to avoid circular imports: - actions defines the Handler interface - actions/print (and other actions) implement Handler and import actions - register imports all action packages to trigger registration - cmd imports register (not actions directly)

Jump to

Keyboard shortcuts

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