Skip to content

Commit

Permalink
Merge pull request #443 from DestroyerAlpha/DestroyerAlpha/updatereadme
Browse files Browse the repository at this point in the history
doc: correct rueidisotel documentation
  • Loading branch information
rueian committed Jan 11, 2024
2 parents 3e64589 + 188a922 commit 467e429
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rueidisotel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ import (
)

func main() {
client, err := rueidis.NewClient(rueidis.ClientOption{InitAddress: []string{"127.0.0.1:6379"}})
client, err := rueidisotel.NewClient(rueidis.ClientOption{InitAddress: []string{"127.0.0.1:6379"}})
if err != nil {
panic(err)
}
defer client.Close()
}
```

See [rueidishook](../rueidishook) if you want more customizations.
See [rueidishook](../rueidishook) if you want more customizations.

Note: `rueidisotel.NewClient` is not supported on go1.18 and go1.19 builds. [Reference](https://github.com/redis/rueidis/issues/442#issuecomment-1886993707)

0 comments on commit 467e429

Please sign in to comment.