You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/06 08:00:17 UTC

[GitHub] [pulsar] tisonkun commented on a diff in pull request #17455: [improve][doc] Improve golang client doc

tisonkun commented on code in PR #17455:
URL: https://github.com/apache/pulsar/pull/17455#discussion_r963381970


##########
site2/docs/client-libraries-go.md:
##########
@@ -424,6 +401,7 @@ if err != nil {
 defer consumer.Close()
 
 for i := 0; i < 10; i++ {
+    // may block here
 	msg, err := consumer.Receive(context.Background())
 	if err != nil {
 		log.Fatal(err)

Review Comment:
   @labuladong generally Golang use tab for indent. In this patch we mix tabs and spaces, you may keep them consistent.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org