package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jan 23, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
OptionalString converts an option of a Stringer-like type into an option of string.
If the option is empty, it returns mo.None[string]().
func Stringify[T interface{ String() string }](items []T) []string
Stringify converts a slice of Stringer-like values into a slice of strings.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.