list

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List struct {
	// contains filtered or unexported fields
}

func NewList

func NewList(slice interface{}) *List

func (*List) Contains added in v1.1.4

func (r *List) Contains(o interface{}) (ok bool)

func (*List) Find

func (r *List) Find(o interface{}) (int, bool)

func (*List) FindBy added in v1.2.5

func (r *List) FindBy(accept func(i int) bool) (j int, ok bool)

func (*List) ForEach

func (r *List) ForEach(accept func(i int))

func (*List) ForEachWithStop added in v1.2.5

func (r *List) ForEachWithStop(accept func(i int) bool)

func (*List) Len added in v1.2.5

func (r *List) Len() int

Jump to

Keyboard shortcuts

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