dict

package
v0.0.0-...-4ef4814 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2022 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 Dictionary

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

func NewDictionary

func NewDictionary(bucketsNum int) *Dictionary

func (*Dictionary) Get

func (d *Dictionary) Get(key string) (interface{}, bool)

func (*Dictionary) Insert

func (d *Dictionary) Insert(key string, val interface{})

func (*Dictionary) Len

func (d *Dictionary) Len() int

func (*Dictionary) Range

func (d *Dictionary) Range() <-chan KV

type KV

type KV struct {
	Key string
	Val interface{}
}

Jump to

Keyboard shortcuts

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