mirror of
https://github.com/terorie/od-database-crawler.git
synced 2025-12-12 14:58:51 +00:00
Fix ton of bugs
This commit is contained in:
@@ -16,6 +16,7 @@ package redblackhash
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"sync"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -28,6 +29,7 @@ type Key [KeySize]byte
|
||||
|
||||
// Tree holds elements of the red-black tree
|
||||
type Tree struct {
|
||||
sync.Mutex
|
||||
Root *Node
|
||||
size int
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user