Skip to content

Commit 05f9cca

Browse files
authored
Pointing the docker to the redis-stack image (#47)
1 parent bdbc096 commit 05f9cca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ $ go test
2727

2828
The tests expect a Redis server with the RedisBloom module loaded to be available at localhost:6379. You can easily launch RedisBloom with Docker in the following manner:
2929
```
30-
docker run -d -p 6379:6379 --name redis-redisbloom redislabs/rebloom:latest
30+
docker run -d -p 6379:6379 --name redis-redisbloom redis/redis-stack-server:latest
3131
```
3232

3333
## Example Code
3434

3535
Make sure to check the full list of examples at [Pkg.go.dev](https://pkg.go.dev/github.com/RedisBloom/redisbloom-go#pkg-examples).
3636

3737
```go
38-
package main
38+
package main
3939

4040
import (
4141
"fmt"
@@ -45,13 +45,13 @@ import (
4545
func main() {
4646
// Connect to localhost with no password
4747
var client = redisbloom.NewClient("localhost:6379", "nohelp", nil)
48-
49-
// BF.ADD mytest item
48+
49+
// BF.ADD mytest item
5050
_, err := client.Add("mytest", "myItem")
5151
if err != nil {
5252
fmt.Println("Error:", err)
5353
}
54-
54+
5555
exists, err := client.Exists("mytest", "myItem")
5656
if err != nil {
5757
fmt.Println("Error:", err)

0 commit comments

Comments
 (0)