package
1.0.2
Repository: https://github.com/zupit/horusec-engine.git
Documentation: pkg.go.dev

# Functions

NewTextFile create a new text file with all necessary info filled.

# Constants

AndMatch need that all regex expressions match to report the vulnerability, it will get the first regex expression the use as base to the reported vulnerability.
NotMatch will report any file that don't match the regex expressions.
OrMatch for each regex that match will report a vulnerability.
Regular do the exact same thing as OrMatch, will be depreciated in the future to simplify engine use.

# Structs

File represents a file to be analyzed.
Rule represents the vulnerability that should be searched in the file.

# Type aliases

MatchType represents the possibles match types of the engine.