Versions in this module Expand all Collapse all v1 v1.1.0 Apr 10, 2025 Changes in this version + const RedactedCharacter + const RedactedLength + func Redact(s string, opts ...Option) string + type Censor struct + func New(s string, opts ...Option) *Censor + func (c *Censor) Set(s string) + func (c Censor) String() string + type Option func(*Censor) + func WithCharacter(char rune) Option + func WithLength(length uint) Option v1.0.0 Jul 11, 2024