xstring

package
v2.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAllEmpty

func IsAllEmpty(s string) bool

IsAllEmpty returns true if the string is empty or contains only whitespace.

func IsNotProperName

func IsNotProperName(s string) bool

IsNotProperName returns true if the string is empty, contains whitespace as prefix or suffix or contains tabs or newlines.

func IsProperName

func IsProperName(s string) bool

IsProperName returns true if the string is not empty and contains no whitespace prefix or suffix and does not contain tabs or newlines.

func RandString

func RandString(n int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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