strings

package
v2.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(slice []string, ele string) bool

Contains reports whether the string contains the element.

func IsBlank

func IsBlank(s string) bool

IsBlank determines whether the string is empty.

func Unique

func Unique(slice []string) []string

Remove the duplicate elements in the string slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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