stringslice

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Except

func Except(items []string, val string) []string

Except returns a new string slice that contains all of the entries from `items` except `val`.

func Has

func Has(items []string, val string) bool

Has returns true if the `items` slice contains the value `val`, or false otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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