package validate
import "cuelang.org/go/internal/core/validate"
Package validate collects errors from an evaluated Vertex.
Index ¶
Functions ¶
func Validate ¶
Validate checks that a value has certain properties. The value must have been evaluated.
Types ¶
type Config ¶
type Config struct { // Concrete, if true, requires that all values be concrete. Concrete bool // DisallowCycles indicates that there may not be cycles. DisallowCycles bool // AllErrors continues descending into a Vertex, even if errors are found. AllErrors bool }
Source Files ¶
validate.go
- Version
- v0.4.0-rc.1
- Published
- May 19, 2021
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 1 hour ago –
Tools for package owners.