validator

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package validator checks generated Go code for syntax errors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateFunctions

func ValidateFunctions(parsed *parser.ParsedFile) error

ValidateFunctions runs all validation rules on parsed functions

Types

type ValidationError

type ValidationError struct {
	Errors []error
}

ValidationError holds multiple validation errors

func (ValidationError) Error

func (e ValidationError) Error() string

Jump to

Keyboard shortcuts

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