package
Version:
v2.2.27
Opens a new window with list of versions in this module.
Published: Jul 28, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ToAny[T any](s []T) []any
ToAny 将任意类型切片转换为 []any
func ToInt[T any](s []T) []int
ToInt 将任意类型切片转换为 []int
ToString 将任意类型切片转换为 []string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.