Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Latest commit

 

History

History
27 lines (20 loc) · 324 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 324 Bytes

go-hashmap

go-hashmap provides a way to log maps as a string of key/value pairs

package main

import (
	"fmt"
	"github.com/davidnarayan/go-hashmap"
)

func main() {
	hm := hashmap.NewHashMap()
	hm.Set("foo", "123")
	hm.Set("bar", "456")

	fmt.Println(hm)
}

This outputs:

bar="456" foo="123"