Skip to content

shaneikennedy/go-btreemap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-btreemap

A generic B-tree map implementation in Go.

Installation

go get github.com/shaneikennedy/btreemap

Usage

package main

import "github.com/shaneikennedy/btreemap"

func main() {
    btree := btreemap.NewBTreeMap[int, string](3)
    btree.Set(1, "one")
    if val, exists := btree.Get(1); exists {
        fmt.Println(val)
    }
}

About

An implementation of a BTreeMap in Go

Resources

Stars

Watchers

Forks

Languages