util

package
v3.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CastStringsTo added in v3.4.0

func CastStringsTo[O ~string, I ~string](input []I) (output []O)

CastStringsTo is a generic function which casts all values of an array to a defined output type and returns them as array.

func WrapError

func WrapError(err error, msg string) error

WrapError contains a new error, constructed from a prefix string and the original error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL