strings

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NormalizationSeparator = "-"
)

Variables

This section is empty.

Functions

func ContainsString

func ContainsString(slice []string, s string) bool

ContainsString is helper functions to check string from a slice of strings.

func ExtractID

func ExtractID(location string) (int64, error)

ExtractID extracts ID from location of response.

func NormalizeName

func NormalizeName(name string, suffixes ...string) string

func RandomName

func RandomName(prefix string) string

RandomName generates random names.

func RemoveString

func RemoveString(slice []string, s string) (result []string)

RemoveString is helper functions to remove string from a slice of strings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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