Help us shape the future of Go! Take the 2026 Go Developer Survey

slice

package
v3.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 1 Imported by: 6

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 added in v3.5.0

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

ContainsRune Check item in map rune type

func ContainsValue added in v3.2.0

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