zhaoyajun2009 opened a new pull request #14555: URL: https://github.com/apache/pulsar/pull/14555
**Motivation** Optimize the installation steps of the pulsar library of the Go client **Modifications** " ### Install go package 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): ```bash $ mkdir test_dir && cd test_dir ``` Write a sample script in 'test_dir' directory , such as ‘test_example.go’,and write ‘package main’ at the beginning of the file. ```bash $ go mod init test_dir $ go mod tidy && go mod download $ go build test_example.go $ ./test_example ``` " **### Documentation** - [x] `doc` (If this PR contains doc changes) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
