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

strings

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SliceContains

func SliceContains(slice []string, str string) bool

SliceContains receives a slice of string and checks if contains str

func SliceContainsAll

func SliceContainsAll(slice []string, strs []string) bool

SliceContainsAll receives a slice of string and checks if contains all of string slice

func SliceContainsOneOf

func SliceContainsOneOf(slice []string, strs []string) bool

SliceContainsOneOf receives a slice of string and checks if contains one of string

func SliceNotContains

func SliceNotContains(slice []string, str string) bool

SliceNotContains receives a slice of string and checks if contains str

func SliceNotContainsOneOf

func SliceNotContainsOneOf(slice []string, strs []string) bool

SliceNotContainsOneOf receives a slice of string and checks if contains one of string

Types

This section is empty.

Jump to

Keyboard shortcuts

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