Skip to content

Commit 27b4962

Browse files
authored
Fix code typo in README
Signed-off-by: Byron Ruth <[email protected]>
1 parent 3c0919d commit 27b4962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ es := r.EventStore("orders")
7272
// Create the store by providing a stream config. By default, the bound
7373
// subject will be "orders.>". This operation is idempotent, so it can be
7474
// safely during application startup time.
75-
err := Create(&nats.StreamConfig{
75+
err := es.Create(&nats.StreamConfig{
7676
Replicas: 3,
7777
})
7878
```

0 commit comments

Comments
 (0)