Documentation
¶
Overview ¶
Package util implements the functions, types, and interfaces for the module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultComponent ¶
DefaultComponent determines the default component from a map based on a prioritized list of names. If no name from defaultNames matches, and the map contains exactly one element, that element is returned. It returns the found component's name, the component itself, and an error if no default can be determined (e.g., multiple components exist without a matching default name).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.