multmap

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultMap

type MultMap[K comparable] map[K][]interface{}

MultMap a map of key-value

func New

func New[K comparable]() MultMap[K]

New new multmap

func (MultMap[K]) Add

func (s MultMap[K]) Add(key K, values ...interface{}) []interface{}

Add add a new entry in the multmap

func (MultMap[K]) GetAllValues

func (s MultMap[K]) GetAllValues() []interface{}

GetAllValues return all values

Jump to

Keyboard shortcuts

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