sliceutil

package
v0.0.0-...-ed26981 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT 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