utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MIT, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromAnyList

func FromAnyList[T any](list []any) []T

将 []any 转换为 []T

func MargeMaps

func MargeMaps(mapping ...map[string]any) map[string]any

将一个或多个 map[string]any 合并到一起

func ToAnyList

func ToAnyList[T any](list []T) []any

将 []T 转换为 []any

Types

This section is empty.

Jump to

Keyboard shortcuts

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