Documentation
¶
Overview ¶
Package validate provides standard Validator constructors for cfg configuration fields. Each constructor returns a cfg.Validator whose Describe reports its kind and parameters so the schema commands and editor tooling can render the constraint declaratively rather than as an opaque function.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
All returns a validator that runs each child in order. The first failure stops the chain.
func Func ¶
Func returns a validator backed by an arbitrary Go function. The description tells operators and editor tooling what the function checks, since the function body itself is opaque to introspection.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.