temp

package
v0.0.0-...-a24bc20 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ITEM

type ITEM int

generic

type List

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

List stores the elements

func (*List) Add

func (l *List) Add(item ITEM)

Add adds an element to the list

func (List) Items

func (l List) Items() []ITEM

Items returns the stored items

func (*List) Len

func (l *List) Len() int

Len returns the number of elements in the list

Jump to

Keyboard shortcuts

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