Documentation ¶
Index ¶
- func CamelCaseToSentenceCase(str string) string
- func CapitalizeFirstLetter(str string) string
- func Includes[SliceType constraints.Ordered](array []SliceType, element SliceType) bool
- func RandomString32() string
- func SafeStringify(value interface{}) string
- func Ternary[T any](condition bool, trueValue, falseValue T) T
- type ComponentSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelCaseToSentenceCase ¶
func CapitalizeFirstLetter ¶
func Includes ¶
func Includes[SliceType constraints.Ordered](array []SliceType, element SliceType) bool
func RandomString32 ¶
func RandomString32() string
func SafeStringify ¶
func SafeStringify(value interface{}) string
Types ¶
type ComponentSpec ¶
Click to show internal directories.
Click to hide internal directories.