MCPcopy Create free account
hub / github.com/KOSASIH/skybridge / Node

Struct Node

src/node/node.go:12–15  ·  view source on GitHub ↗

Node represents a node in a graph

Source from the content-addressed store, hash-verified

10
11// Node represents a node in a graph
12type Node struct {
13 id string
14 neighbors []*Node
15}
16
17// NewNode returns a new Node instance
18func NewNode(id string) *Node {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected