Skip to content

Commit

Permalink
removed password from example
Browse files Browse the repository at this point in the history
  • Loading branch information
aliforever committed Feb 8, 2025
1 parent 2be61f4 commit 9adc3ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions example/hset-struct/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ func main() {
ctx := context.Background()

rdb := redis.NewClient(&redis.Options{
Addr: ":6379",
Password: "Mafia1234",
Addr: ":6379",
})
_ = rdb.FlushDB(ctx).Err()

Expand Down
3 changes: 1 addition & 2 deletions example/scan-struct/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ func main() {
ctx := context.Background()

rdb := redis.NewClient(&redis.Options{
Addr: ":6379",
Password: "Mafia1234",
Addr: ":6379",
})
_ = rdb.FlushDB(ctx).Err()

Expand Down

0 comments on commit 9adc3ca

Please sign in to comment.