slice

package
v2.2.27 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToAny

func ToAny[T any](s []T) []any

ToAny 将任意类型切片转换为 []any

func ToInt

func ToInt[T any](s []T) []int

ToInt 将任意类型切片转换为 []int

func ToString

func ToString[T any](s []T) []string

ToString 将任意类型切片转换为 []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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