Skip to content

Commit 56242dc

Browse files
authored
Update README.md
1 parent c15c557 commit 56242dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cloud/go/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ The content of each message payload is a combination of `hello-` and a digital (
2525
3. Run the Go consumer to receive messages from the topic `topic-1`.
2626

2727
```bash
28+
go mod tidy
2829
go build -o consumer sampleConsumer.go
2930
./consumer -serviceURL pulsar+ssl://streamnative.cloud:6651 \
3031
-privateKey /path/to/private/key/file.json\
@@ -51,6 +52,7 @@ The content of each message payload is a combination of `hello-` and a digital (
5152
4. Run the Go producer to publish messages to the topic `topic-1`.
5253

5354
```bash
55+
go mod tidy
5456
go build -o producer sampleProducer.go
5557
./producer -serviceURL pulsar+ssl://streamnative.cloud:6651 \
5658
-privateKey /path/to/private/key/file.json\

0 commit comments

Comments
 (0)