Simple implementation of an insertion ordered map in Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
CODE_OF_CONDUCT.md
LICENCE
README.md
appveyor.yml
go.mod
orderedmap.go
orderedmap_test.go

README.md

Insertion Ordered Map

GoDoc Reference Build Status Build status Coverage Status

Implementation of an insertion ordered map in Go

Installation

go get go.bmvs.io/orderedmap

Usage

package main

import (
	"go.bmvs.io/orderedmap"
)

func main() {
	m := orderedmap.New()
	m.Put("foo", "bar")
	// ...
}

See the godoc to see all the available methods with example usage.

Development

  • Run tests with go test -race ./...

License

BSD-2-Clause