Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xAX/go-algorithms
/ btree
Struct
btree
sorting/treesort.go:13–15 ·
view source on GitHub ↗
definition of a node
Source
from the content-addressed store, hash-verified
11
12
// definition of a node
13
type
btree
struct
{
14
root *node
15
}
16
17
// allocating a new node
18
func
newNode(val int) *node {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected