utils

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StrMaskMiddle

func StrMaskMiddle(s string) string

StrMaskMiddle masks the middle characters of a string with '*'. Characters at index 4..len-5 (0-indexed) are replaced. Strings of 8 characters or fewer are returned unchanged.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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