package
Version:
v2.32.0+incompatible
Opens a new window with list of versions in this module.
Published: Aug 10, 2021
License: Apache-2.0, BSD-3-Clause, MIT
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.