Skip to content

A robust tree structure implementation for Redis in Golang

License

Notifications You must be signed in to change notification settings

zhujiaqi/redigo-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redigo-tree


Go Port of https://github.com/shimohq/ioredis-tree

Install


go get -u github.com/kardianos/govendor
govendor sync -insecure -v

Usage


import (
	tree "github.com/zhujiaqi/redigo-tree"
)

tree.TInsert("treename", "parent", "node", map[string]string{"index": "1000"})

API & Examples

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

About

A robust tree structure implementation for Redis in Golang

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published