Help us shape the future of Go! Take the 2026 Go Developer Survey

application

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package application contains the application logic for the homoglyphs rule type

Index

Constants

View Source
const (
	// HomoglyphsEvalType is the type of the homoglyphs evaluator
	HomoglyphsEvalType = "homoglyphs"
)

Variables

This section is empty.

Functions

func NewHomoglyphsEvaluator

NewHomoglyphsEvaluator creates a new homoglyphs evaluator

Types

type InvisibleCharactersEvaluator

type InvisibleCharactersEvaluator struct {
	// contains filtered or unexported fields
}

InvisibleCharactersEvaluator is an evaluator for the invisible characters rule type

func NewInvisibleCharactersEvaluator

func NewInvisibleCharactersEvaluator(
	_ context.Context,
	ghClient interfaces.GitHubIssuePRClient,
	opts ...interfaces.Option,
) (*InvisibleCharactersEvaluator, error)

NewInvisibleCharactersEvaluator creates a new invisible characters evaluator

func (*InvisibleCharactersEvaluator) Eval

Eval evaluates the invisible characters rule type

type MixedScriptsEvaluator

type MixedScriptsEvaluator struct {
	// contains filtered or unexported fields
}

MixedScriptsEvaluator is the evaluator for the mixed scripts rule type

func NewMixedScriptEvaluator

func NewMixedScriptEvaluator(
	ctx context.Context,
	ghClient interfaces.GitHubIssuePRClient,
	opts ...interfaces.Option,
) (*MixedScriptsEvaluator, error)

NewMixedScriptEvaluator creates a new mixed scripts evaluator

func (*MixedScriptsEvaluator) Eval

Eval evaluates the mixed scripts rule type

Jump to

Keyboard shortcuts

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