Skip to content

Commit 48750b8

Browse files
author
XieBiao
committed
fix readme
1 parent f420112 commit 48750b8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ glide get github.com/hhxsv5/go-redis-memory-analysis#~1.1.0
2020
```Go
2121
redis, err := NewRedisClient("127.0.0.1", 6379, "")
2222
if err != nil {
23-
fmt.Println("Connect redis fail", err)
23+
fmt.Println("connect redis fail", err)
2424
return
2525
}
2626
defer redis.Close()
@@ -29,7 +29,7 @@ analysis := NewAnalysis(redis)
2929

3030
//Scan the keys which can be split by '#' ':'
3131
//Special pattern characters need to escape by '\'
32-
analysis.Start([]string{"#", ":"}, 3000)
32+
analysis.Start([]string{"#", ":"})
3333

3434
//Find the csv file in default target folder: ./reports
3535
//CSV file name format: redis-analysis-{host:port}-{db}.csv

examples/glide.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)