stringutil

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TemplateFuncs = map[string]any{
	"lower": strings.ToLower,
	"upper": strings.ToUpper,
}

Functions

func FirstNonEmpty added in v0.9.0

func FirstNonEmpty(strs ...string) string

func IsAnyEmpty

func IsAnyEmpty(strs ...string) bool

func RandomAlphanumericString

func RandomAlphanumericString(max int) string

func StripSpaces added in v0.8.0

func StripSpaces(str string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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