Skip to content

Commit

Permalink
change ID() to Payload (apache#2117)
Browse files Browse the repository at this point in the history
  • Loading branch information
k2la authored and merlimat committed Jul 9, 2018
1 parent 7047146 commit cd35677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/docs/latest/clients/go.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func main() {
producer.SendAsync(ctx, asyncMsg, func(msg pulsar.ProducerMessage, err error) {
if err != nil { log.Fatal(err) }

fmt.Printf("Message %s succesfully published", msg.ID())
fmt.Printf("Message %s successfully published", msg.Payload)
})
}
}
Expand Down

0 comments on commit cd35677

Please sign in to comment.