esco / superhash-go

Thread safe Hash Map that supports using one or more keys of any type.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

superhash

Build Status Coverage Status Code Climate

superhash

Thread safe Hash Map that supports using one or more keys of any type

Installation

$ go get esco/superhash-go

Example

import (
    "github.com/esco/superhash"
)

hashmap := superhash.New()
k1, k2, k3, value := 1, true, "3", 4
hashmap.Set(k1, k2, k3, value)
hashmap.Get(k1, k2, k3) // 4
hashmap.Delete(k1, k2, k3) 

LICENSE

MIT

About

Thread safe Hash Map that supports using one or more keys of any type.

License:MIT License


Languages

Language:Go 100.0%