Skip to content

Commit ff746e4

Browse files
authored
Update README.md
1 parent f435745 commit ff746e4

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
@@ -186,7 +186,7 @@ func main() {
186186
// Initialize PubNub
187187
pubnub := messaging.NewPubnub("YOUR_PUBLISH_API_KEY", "YOUR_SUBSCRIBE_API_KEY", "", "", false, "", nil)
188188
```
189-
10. Subscribe (listen on) a channel. This is async. We have to refresh the output view when a new message is received. Add this inside the drawchat function before the main loop.
189+
10. Subscribe (listen on) a channel. This is async. We have to refresh the output view when a new message is received. Add this inside the drawchat function before where the main loop is started.
190190
```go
191191
// Subscribe (listen on) a channel.
192192
successChannel := make(chan []byte)

0 commit comments

Comments
 (0)