Go Port of https://github.com/shimohq/ioredis-tree
go get -u github.com/kardianos/govendor
govendor sync -insecure -v
import (
tree "github.com/zhujiaqi/redigo-tree"
)
tree.TInsert("treename", "parent", "node", map[string]string{"index": "1000"})
For complete API, check: https://github.com/shimohq/ioredis-tree
Please see redigotree_test.go for examples. The tests are for reference only, they are not completed...for now.
To run the tests:
go test