randmap

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 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 RandMap

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

func NewRandMap

func NewRandMap() *RandMap

func (*RandMap) Get

func (s *RandMap) Get(key any) interface{}

func (*RandMap) PopRandom

func (s *RandMap) PopRandom() interface{}

func (*RandMap) Random

func (s *RandMap) Random() interface{}

func (*RandMap) Remove

func (s *RandMap) Remove(key any)

func (*RandMap) Set

func (s *RandMap) Set(key any, item interface{})

Jump to

Keyboard shortcuts

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