Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
func Check( add func(protosource.Descriptor, protosource.Location, []protosource.Location, string, ...interface{}), files []protosource.File, ) error
Check validates that all rules on fields are valid, and all CEL expressions compile.
For a set of rules to be valid, it must
- permit _some_ value
- have a type compatible with the field it validates.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.