nitishm / go-rejson

Golang client for redislabs' ReJSON module with support for multilple redis clients (redigo, go-redis)
MIT License
343 stars 47 forks source link

Create a JSONQGet function #39

Open gatomazi opened 4 years ago

gatomazi commented 4 years ago

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

nitishm commented 4 years ago

Please create the PR and we can review it.