inslice

package
v0.0.0-...-6dbb570 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InSlice

func InSlice(need string, needSlice []string) bool

必须完全相同

func InSliceEqualFold

func InSliceEqualFold(need string, needSlice []string) bool

不区分大小写

func InSliceHasPrefix

func InSliceHasPrefix(s string, prefixs []string) bool

前缀相同

func InSliceHasSuffix

func InSliceHasSuffix(s string, suffixs []string) bool

后缀相同

Types

This section is empty.

Jump to

Keyboard shortcuts

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