Documentation
¶
Overview ¶
Package options provides shared utilities for option validation across packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateSingleInputSource ¶
ValidateSingleInputSource ensures exactly one input source is specified. sources is a variadic list of booleans indicating whether each source is set. noSourceMsg is the error message when no source is specified. multiSourceMsg is the error message when multiple sources are specified. Returns an error if zero or more than one input source is specified.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.