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/03/07 07:52:18 UTC

[GitHub] [pulsar] freeznet commented on a change in pull request #14555: [doc]Optimize the installation steps of the pulsar library of the Go client

freeznet commented on a change in pull request #14555:
URL: https://github.com/apache/pulsar/pull/14555#discussion_r820449615



##########
File path: site2/docs/client-libraries-go.md
##########
@@ -16,18 +16,35 @@ You can use Pulsar [Go client](https://github.com/apache/pulsar-client-go) to cr
 
 ### Install go package
 
-You can install the `pulsar` library locally using `go get`.  
+You can install the `pulsar` library locally using `go get` download to local or downloading online.  

Review comment:
       ```suggestion
   You can get the `pulsar` library by using `go get` or use it with `go module`.  
   ```

##########
File path: site2/docs/client-libraries-go.md
##########
@@ -16,18 +16,35 @@ You can use Pulsar [Go client](https://github.com/apache/pulsar-client-go) to cr
 
 ### Install go package
 
-You can install the `pulsar` library locally using `go get`.  
+You can install the `pulsar` library locally using `go get` download to local or downloading online.  
+
+Download to local:
 
 ```bash
 $ go get -u "github.com/apache/pulsar-client-go/pulsar"
 ```
+If you can't download, please try it by configure [CDN accelerated proxy]( https://learnku.com/go/wikis/38122).

Review comment:
       this should only applied to China users due the network issue, so i dont think it is proper to put it here.

##########
File path: site2/docs/client-libraries-go.md
##########
@@ -16,18 +16,35 @@ You can use Pulsar [Go client](https://github.com/apache/pulsar-client-go) to cr
 
 ### Install go package
 
-You can install the `pulsar` library locally using `go get`.  
+You can install the `pulsar` library locally using `go get` download to local or downloading online.  
+
+Download to local:
 
 ```bash
 $ go get -u "github.com/apache/pulsar-client-go/pulsar"
 ```
+If you can't download, please try it by configure [CDN accelerated proxy]( https://learnku.com/go/wikis/38122).
 
 Once installed locally, you can import it into your project:
 
 ```go
 import "github.com/apache/pulsar-client-go/pulsar"
 ```
 
+Online download(for example):

Review comment:
       ```suggestion
   Use with go module:
   ```




-- 
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