generics

package
v0.0.0-...-021ab65 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmpMap

type CmpMap[K, D dataType] struct {
	// contains filtered or unexported fields
}

func (*CmpMap[K, D]) Del

func (m *CmpMap[K, D]) Del(key K)

func (*CmpMap[K, D]) Each

func (m *CmpMap[K, D]) Each(f func(key K, value D))

func (*CmpMap[K, D]) Get

func (m *CmpMap[K, D]) Get(key K) (D, bool)

func (*CmpMap[K, D]) Inc

func (m *CmpMap[K, D]) Inc(key K, count D)

func (*CmpMap[K, D]) Set

func (m *CmpMap[K, D]) Set(key K, value D)

Jump to

Keyboard shortcuts

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