text

package
v1.16.30-beta2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GAEventName

func GAEventName(in string) string

func Obfuscate

func Obfuscate(in string) string

Obfuscate string leave default characters count on left and right

func ObfuscateLR

func ObfuscateLR(in string, keepLeft, keepRight int) (out string)

func Slug

func Slug(s string) string

Slug replaces each run of characters which are not unicode letters or numbers with a single hyphen, except for leading or trailing runs. Letters will be stripped of diacritical marks and lowercased. Letter or number codepoints that do not have combining marks or a lower-cased variant will be passed through unaltered.

func ToStr added in v1.16.17

func ToStr(in any) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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