_strings

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InArray

func InArray(needle string, haystack []string) bool

InArray checks if a string is in a string array.

func Is

func Is(pattern, value string) bool

Is returns true if the value matches the pattern. The pattern can contain the wildcard character *.

example:

Is("*.example.com", "www.example.com") // true
Is("*.example.com", "example.com") // false

Types

This section is empty.

Jump to

Keyboard shortcuts

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