Help us shape the future of Go! Take the 2026 Go Developer Survey

strings

package module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBlank

func IsBlank(s string) bool

IsBlank returns true if the string length is zero(excluding whitespaces)

func IsBlankP

func IsBlankP(s *string) bool

IsBlankP returns true if the string length is zero(excluding whitespaces) or null

func IsEmpty

func IsEmpty(s string) bool

IsEmpty returns true if the string length is zero

func IsEmptyP

func IsEmptyP(s *string) bool

IsEmptyP returns true if the string length is zero or null

func IsNotBlank

func IsNotBlank(s string) bool

IsNotBlank returns true if the string length is not zero(excluding whitespaces)

func IsNotBlankP

func IsNotBlankP(s *string) bool

IsNotBlankP returns true if the string length is not zero(excluding whitespaces) and not null

func IsNotEmpty

func IsNotEmpty(s string) bool

IsNotEmpty returns true if the string length is not zero

func IsNotEmptyP

func IsNotEmptyP(s *string) bool

IsNotEmptyP returns true if the string length is not zero and not null

func PointerValue added in v0.1.2

func PointerValue(s *string) string

PointerValue returns the string value from the pointer or empty string if nil

Types

This section is empty.

Jump to

Keyboard shortcuts

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