sanitization

package
v2.937.13 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizeClassName

func SanitizeClassName(className string) string

func SanitizeFieldName

func SanitizeFieldName(fieldName string) string

Types

type Result

type Result struct {
	Original string
	Results  *sequencedmap.Map[string, string]
}

func GetSanitizedClassNameResult

func GetSanitizedClassNameResult(className string) Result

func GetSanitizedEnumNameResult

func GetSanitizedEnumNameResult(enum string) Result

func GetSanitizedEnumNamesResult

func GetSanitizedEnumNamesResult(values []string) []Result

func GetSanitizedFieldNameResult

func GetSanitizedFieldNameResult(fieldName string) Result

func GetSanitizedFileNameResult

func GetSanitizedFileNameResult(filename string) Result

func GetSanitizedMethodNameResult

func GetSanitizedMethodNameResult(methodName string) Result

func GetSanitizedNamespaceResult

func GetSanitizedNamespaceResult(namespace string) Result

func GetSanitizedOperationIDResult

func GetSanitizedOperationIDResult(operationID string) Result

func (*Result) GetConflicting

func (r *Result) GetConflicting(rhs Result) (string, string)

type Sanitizer

type Sanitizer struct{}

Jump to

Keyboard shortcuts

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