slice

package
v3.7.7 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

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

Contains Check item in slice string type

func ContainsRune

func ContainsRune(set map[rune]struct{}, item rune) bool

ContainsRune Check item in map rune type

func ContainsValue

func ContainsValue(slice []interface{}, value interface{}) bool

ContainsValue check if value exists in slice, no matter its type

func IntToString

func IntToString(intSl []int) (str []string)

IntToString Convert slice int to slice string

Types

This section is empty.

Jump to

Keyboard shortcuts

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