Documentation
¶
Overview ¶
Package validation is the Stage-1 namespace for generated-code validation, schema validation, test loops, and lint loops. See ../REFACTOR_PLAN.md.
Index ¶
- func DetectTestCommand(projectDir string) string
- func ExtractCodeFromOutput(text, lang string) (string, error)
- func ExtractJSONFromOutput(text string) (string, error)
- func RepairJSON(broken string) (string, error)
- type FieldSpec
- type GenCheck
- type GenIssue
- type GenValidation
- type GenValidator
- type LintLoop
- type LintResult
- type Schema
- type SchemaValidationError
- type SchemaValidationResult
- type SchemaValidator
- type TestLoop
- type TestResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectTestCommand ¶
func ExtractCodeFromOutput ¶
func ExtractJSONFromOutput ¶
func RepairJSON ¶
Types ¶
type GenValidation ¶
type GenValidation = engine.GenValidation
type GenValidator ¶
type GenValidator = engine.GenValidator
func NewGenValidator ¶
func NewGenValidator() *GenValidator
type LintResult ¶
type LintResult = engine.LintResult
type SchemaValidationError ¶
type SchemaValidationError = engine.SchemaValidationError
type SchemaValidationResult ¶
type SchemaValidationResult = engine.SchemaValidationResult
type SchemaValidator ¶
type SchemaValidator = engine.SchemaValidator
func NewSchemaValidator ¶
func NewSchemaValidator() *SchemaValidator
type TestResult ¶
type TestResult = engine.TestResult
Click to show internal directories.
Click to hide internal directories.