refactor(Node) do not expose node struct

This commit is contained in:
Xiang Li
2013-11-27 21:02:28 -05:00
parent d3a83805cc
commit 08c59895b5
4 changed files with 45 additions and 46 deletions

View File

@ -33,7 +33,7 @@ func TestHeapPushPop(t *testing.T) {
func TestHeapUpdate(t *testing.T) {
h := newTtlKeyHeap()
kvs := make([]*Node, 10)
kvs := make([]*node, 10)
// add from older expire time to earlier expire time
// the path is equal to ttl from now