Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
XieBiao committed Jan 2, 2018
1 parent f420112 commit 48750b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ glide get github.com/hhxsv5/go-redis-memory-analysis#~1.1.0
```Go
redis, err := NewRedisClient("127.0.0.1", 6379, "")
if err != nil {
fmt.Println("Connect redis fail", err)
fmt.Println("connect redis fail", err)
return
}
defer redis.Close()
Expand All @@ -29,7 +29,7 @@ analysis := NewAnalysis(redis)

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

//Find the csv file in default target folder: ./reports
//CSV file name format: redis-analysis-{host:port}-{db}.csv
Expand Down
4 changes: 2 additions & 2 deletions examples/glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 48750b8

Please sign in to comment.