redacted

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: BSD-3-Clause, GPL-3.0, MIT, + 1 more Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Redacted

func Redacted(input any) string

Redacted redacts sensitive data in production logs. In non-production environments, it returns the string representation of the input value. In a production environment, it always returns the constant "[REDACTED]" to ensure sensitive information is not exposed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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