slice

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 1 Imported by: 0

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