Documentation
¶
Overview ¶
New string utilties, will move the rest over time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsStringMap ¶
AsStringMap attempts to convert any map-like interface to map[string]any.
func FirstNonEmpty ¶
FirstNonEmpty returns the first non-empty string in a list of values.
func UniqueNonEmptyStrings ¶
UniqueNonEmptyStrings returns unique, non-empty, trimmed strings.
func UserHasRole ¶
UserHasRole reports whether the user's roles contains the given role.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.