package
1.8.7
Repository: https://github.com/sharedcode/sop.git
Documentation: pkg.go.dev

# Functions

Compare can Compare a Comparable type.
No description provided by the author
No description provided by the author
No description provided by the author
New creates a new B-Tree instance.
NewStoreInfo instantiates a new Store, defaults extended parameters to typical use-case values.
NewStoreInfoExt instantiates a new Store and offers more parameters configurable to your desire.

# Structs

Btree manages items using B-tree data structure and algorithm.
Item contains key & value pair, plus the version number.
Node contains a B-Tree node's data.
StoreInfo contains a given (B-Tree) store details.
StoreInterface contains different repositories needed/used by B-Tree to manage/access its data/objects from a backend.

# Interfaces

BtreeInterface defines publicly callable methods of Btree.
Comparable interface is used as a B-Tree store (generics) constraint for Key types.
Comparer interface specifies the Compare function.
ItemActionTracker specifies the CRUD action methods that can be done to manage Items.
MetaDataType specifies object meta data fields such as ID & Version.
NodeRepository interface specifies the node repository.