sliceutil

package
v2.22.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Anonymize

func Anonymize[T any](src []T) []interface{}

Anonymize casts slice to slice of interfaces

func ToStringSlice added in v2.9.0

func ToStringSlice[T ~string](src []T) []string

ToStringSlice casts slice of string type aliases to slice of string type

Types

This section is empty.

Jump to

Keyboard shortcuts

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