validation

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskToCreateDirectory

func AskToCreateDirectory(path string)

func AskToSetValue

func AskToSetValue(env *ast.Document, assignment *ast.Assignment)

func Explain

func Explain(env *ast.Document, keyErr ValidationError)

Types

type ValidationError

type ValidationError struct {
	Error      any
	Assignment *ast.Assignment
}

func Validate

func Validate(d *ast.Document) []ValidationError

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL