nitishm / go-rejson

Golang client for redislabs' ReJSON module with support for multilple redis clients (redigo, go-redis)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a JSONQGet function

gatomazi opened this issue · comments

RedisJSON2 was released, and with it has the funcionality of make GET with Queries, which is called JSON.QGET. So, I wanted to do the same in Go, and it didn't was avaiable yet.

With this in mind, I created the command to execute de JSON.QGET with go-rejson, and I'd like to know what could I do to improve the code, and if we could do a PR, for others who need use it.

Or if there is another way to do it and I didn't find, please tell me.

Its forked on my repo

Please create the PR and we can review it.