sanitise

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNilPtr = errors.New("input must be a non-nil pointer")

Functions

func Sanitize added in v0.3.0

func Sanitize(value any) error

Sanitize modifies a pointer value to prevent XSS attacks It changes the value instead of returning a new one to prevent memory duplication

Types

This section is empty.

Jump to

Keyboard shortcuts

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