strings

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NormalizationSeparator = "-"
)

Variables

This section is empty.

Functions

func ContainsString added in v1.2.0

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

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

func ExtractID added in v1.2.0

func ExtractID(location string) (int64, error)

ExtractID extracts ID from location of response.

func NormalizeName

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

func RandomName added in v1.2.0

func RandomName(prefix string) string

RandomName generates random names.

func RemoveString added in v1.2.0

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