Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
nnn-gif committed Oct 6, 2020
1 parent 76ece4c commit 1e56040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -56,7 +56,7 @@ if err != nil {
}

conn.SetWriteDeadline(time.Now().Add(10*time.Second))
err := conn.WriteMessages(
_, err := conn.WriteMessages(
kafka.Message{Value: []byte("one!")},
kafka.Message{Value: []byte("two!")},
kafka.Message{Value: []byte("three!")},
Expand Down

0 comments on commit 1e56040

Please sign in to comment.