⬆️ update dependencies, implement user store

This commit is contained in:
2020-10-09 18:35:44 +02:00
parent d2c0ebb043
commit 129df9d7f2
90 changed files with 6640 additions and 12741 deletions

View File

@@ -822,6 +822,16 @@ func (t *BTree) Len() int {
return t.length
}
// Context returns the context of the tree.
func (t *BTree) Context() interface{} {
return t.ctx
}
// SetContext will replace the context of the tree.
func (t *BTree) SetContext(ctx interface{}) {
t.ctx = ctx
}
// Int implements the Item interface for integers.
type Int int