stringtool

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 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 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