stringutils

package
v0.0.0-...-4aab545 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayContainsString

func ArrayContainsString(a []string, x string) bool

ArrayContainsString checks the string array to see if it contains the specifed value

func CompareURL

func CompareURL(a, b string) bool

CompareURL compares two URLs, taking into account default HTTP/HTTPS ports and ignoring query string. Allows `b` to contain a wildcard `*` to match any path of `a`s

func RemoveSpaces

func RemoveSpaces(str string) string

RemoveSpaces removes all whitespace from the supplied string

Types

This section is empty.

Jump to

Keyboard shortcuts

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