validator

package
v3.2.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatePocFiles

func ValidatePocFiles(target string) error

ValidatePocFiles 验证POC文件或目录

func ValidateSinglePocFile added in v3.2.2

func ValidateSinglePocFile(filePath string) error

Types

type ValidationError

type ValidationError struct {
	File    string
	Line    int
	Column  int
	Message string
}

func (*ValidationError) Error

func (e *ValidationError) Error() string

type ValidationResult

type ValidationResult struct {
	File   string
	Passed bool
	Errors []ValidationError
}

Jump to

Keyboard shortcuts

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