stringtool

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cat

func Cat(strs ...string) string

Cat concatenates strings. It is intended to used in the core executing path for performance optimization. fmt.Printf is still recommended for readability.

func DeleteStrInSlice

func DeleteStrInSlice(slice []string, str string) []string

DeleteStrInSlice deletes the matched string in the slice.

func IsAllEmpty added in v1.5.1

func IsAllEmpty(strs ...string) bool

IsAllEmpty returns whether all strings are empty.

func IsAnyEmpty added in v1.5.1

func IsAnyEmpty(strs ...string) bool

IsAnyEmpty returns whether any string is empty.

func StrInSlice

func StrInSlice(str string, slice []string) bool

StrInSlice returns whether the string is in the slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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