use ServiceConfig;
/// A controller registration entry provided by the #[controller] macro.
///
/// This struct represents a controller that can be registered with the web server.
/// Each controller has a name and a configuration function that sets up its routes.
collect!;
/// Configures all registered controllers with the provided ServiceConfig.
///
/// This function iterates through all controllers registered via the inventory
/// system and calls their configure function to set up their routes.
///
/// # Arguments
/// * `cfg` - The ServiceConfig to configure with controller routes