Improved struct alignment
This commit is contained in:
12
treeNode.go
12
treeNode.go
@ -15,15 +15,15 @@ const (
|
||||
|
||||
// treeNode represents a radix tree node.
|
||||
type treeNode[T any] struct {
|
||||
prefix string
|
||||
data T
|
||||
children []*treeNode[T]
|
||||
parameter *treeNode[T]
|
||||
wildcard *treeNode[T]
|
||||
indices []uint8
|
||||
startIndex uint8
|
||||
endIndex uint8
|
||||
kind byte
|
||||
prefix string
|
||||
indices []uint8
|
||||
children []*treeNode[T]
|
||||
data T
|
||||
parameter *treeNode[T]
|
||||
wildcard *treeNode[T]
|
||||
}
|
||||
|
||||
// split splits the node at the given index and inserts
|
||||
|
Reference in New Issue
Block a user