Array

package
v0.0.0-...-24004a3 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: BSD-3-Clause Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Each

func Each(
	items []interface{},
	fn func(int, interface{}) Result.Interface,
) Result.Interface

Iterate over an Array of interface{}

Types

type Interface

type Interface interface {
	Each(fn func(int, interface{}) Result.Interface) Result.Interface
	Push(interface{}) Result.Interface
	Pop() Result.Interface
	First() Result.Interface
	Fetch(int) Result.Interface
	Last() Result.Interface
	Clear() Result.Interface
	Copy() Result.Interface
}

func New

func New() Interface

Jump to

Keyboard shortcuts

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