package
Version:
v1.23.1
Opens a new window with list of versions in this module.
Published: Jun 15, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ValidateBytes takes a slice of bytes, and validates them against a cue definition.
ValidateFiles takes a slice of strings as filenames and validates them against
our cue definition of features.
type Error struct {
Message string `json:"message"`
Location Location `json:"location"`
}
Error is a collection of fields that represent positions in files where the user
has made some kind of error.
type Location struct {
File string `json:"file,omitempty"`
Line int `json:"line"`
Column int `json:"column"`
}
Location contains information about where an error has occurred during cue
validation.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.