Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zonyitoo/redis-go
Simple Client for Redis in Go
https://github.com/zonyitoo/redis-go
Last synced: 3 months ago
JSON representation
Simple Client for Redis in Go
- Host: GitHub
- URL: https://github.com/zonyitoo/redis-go
- Owner: zonyitoo
- Created: 2014-06-21T06:33:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-21T06:39:21.000Z (over 10 years ago)
- Last Synced: 2024-10-07T13:07:52.458Z (3 months ago)
- Language: Go
- Size: 121 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Redis Client in Go
Redis-go is a client for the [redis](https://github.com/antirez/redis) Key-Value Storage system.
## Example
```go
package mainimport "github.com/zonyitoo/redis-go"
func main() {
client := redis.NewClient("127.0.0.1:6379")
_, _ := client.Exec("set", "hello", "world")ret, _ := client.Exec("get", "hello")
println(ret.(redis.RespBulkString).data)
}```