list

package
v0.0.0-...-8431c9c Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyncList

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

SyncList is a sync list based on the container/list

func New

func New() *SyncList

New a sync list

func (*SyncList) Iterate

func (l *SyncList) Iterate(f func(ele interface{}) bool)

Iterate the list

func (*SyncList) Push

func (l *SyncList) Push(ele interface{})

Push the element to the back of the list

Jump to

Keyboard shortcuts

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