strings

package
v2.26.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteCountToHumanReadableUnit added in v2.16.0

func ByteCountToHumanReadableUnit(b uint64) string

func CapitalizeFirstRuneInString added in v2.22.0

func CapitalizeFirstRuneInString(s string) string

CapitalizeFirstRuneInString returns the specified string with the first rune in uppercase. If the first rune cannot be extracted, the string is returned unchanged.

func Sanitize added in v2.10.0

func Sanitize(name string) string

Sanitize removes special characters, limits to max 254 characters in name, no special characters except '-', '_', and '.'

func ToString

func ToString(v interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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