array

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array struct {
	*list.List
}

Stream 提供对一组数据集的操作,接口 api 参考自 Laravel 的 Collection 和 Java 的 stream

func Slice

func Slice(slice any) *Array

Slice 通过 slice 构造 Array

func Values

func Values(elements ...any) *Array

Values 通过传入一组任意元素来构造 Array

func (*Array) KeyBy

func (this *Array) KeyBy(field string) *dict.MapDict

func (*Array) String

func (a *Array) String() string

Jump to

Keyboard shortcuts

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