Simple implementation of an insertion ordered set 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.
.gitignore
.travis.yml
CODE_OF_CONDUCT.md
LICENCE
README.md
appveyor.yml
go.mod
go.sum
orderedset.go
orderedset_test.go

README.md

Insertion Ordered Set

GoDoc Reference Build Status Build status Coverage Status

Implementation of an insertion ordered set in Go

Installation

go get go.bmvs.io/orderedset

Usage

package main

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

func main() {
	m := orderedset.New()
	m.Add("bar")
	// ...
}

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

Development

  • Install dependencies with dep
  • Run tests with go test -race ./...

License

BSD-2-Clause