add lock for trees in cloneTest
1 file changed
tree: 75eeb3c65b1e274f9227ed6b8aa97d07994b6f07
  1. .travis.yml
  2. btree.go
  3. btree_mem.go
  4. btree_test.go
  5. go.mod
  6. LICENSE
  7. README.md
README.md

BTree implementation for Go

Travis CI Build Status

This package provides an in-memory B-Tree implementation for Go, useful as an ordered, mutable data structure.

The API is based off of the wonderful http://godoc.org/github.com/petar/GoLLRB/llrb, and is meant to allow btree to act as a drop-in replacement for gollrb trees.

See http://godoc.org/github.com/google/btree for documentation.