sliceutil

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 2 more Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindInt

func FindInt(slice []int, target int) bool

FindInt return true if target in slice, return false if not.

func FindString

func FindString(slice []string, target string) bool

FindString return true if target in slice, return false if not.

func FindUint

func FindUint(slice []uint, target uint) bool

FindUint return true if target in slice, return false if not.

func RemoveString

func RemoveString(slice []string, remove func(item string) bool) []string

RemoveString remove string from slice if function return true.

Types

This section is empty.

Jump to

Keyboard shortcuts

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