package
Version:
v2.25.0-RC2+incompatible
Opens a new window with list of versions in this module.
Published: Oct 20, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package stringx contains utilities for working with strings. It
complements the standard "strings" package.
AnyValue returns a value of a map[string]string. Panics
if the map is empty.
FromBytes converts a byte slice to a string.
Keys returns the domain of a map[string]string.
SingleValue returns the single value of a map[string]string.
Panics if the map does not contain exactly one value.
ToBytes converts a string to a byte slice.
Values returns the values of a map[string]string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.