12 lines
169 B
Go
12 lines
169 B
Go
package main
|
|
|
|
// Key 使用的Key类型, 便于函数处理的归类
|
|
type Key []byte
|
|
|
|
// Node 节点
|
|
type Node struct {
|
|
Hash uint64
|
|
Keys []*Key
|
|
Value interface{}
|
|
}
|