Skip to content

Commit fa25316

Browse files
author
Jannis Pohlmann
committed
README: Fix mistakes in the usage examples
1 parent 5f80d26 commit fa25316

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ subscription := subscriptionManager.Subscriptions()
7474
7575
for _, conn := range subscriptions {
7676
// Things you have access to here:
77-
conn.ID // The connection ID
78-
conn.User // The user returned from the subscription manager's Authenticate
77+
conn.ID() // The connection ID
78+
conn.User() // The user returned from the Authenticate function
7979
8080
for _, subscription := range subscriptions[conn] {
8181
// Things you have access to here:

0 commit comments

Comments
 (0)