Skip to content

Commit

Permalink
fix: improve composing (#2545)
Browse files Browse the repository at this point in the history
  • Loading branch information
leo220yuyaodog committed Apr 15, 2023
1 parent c4d2db9 commit 5f6a6cb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ weight: 1
[【Go 语言官网下载地址】](https://golang.google.cn/)

$GOPATH/bin 加入环境变量
安装成功后将 `$GOPATH/bin` 加入环境变量

### 2. 安装序列化工具protoc

[【protoc 下载地址】](https://github.com/protocolbuffers/protobuf/releases)

### 3. 安装 dubbogo-cli 以及相关插件

执行以下指令安装dubbogo-cli 至 $GOPATH/bin
执行以下指令安装dubbogo-cli 至 `$GOPATH/bin`

```bash
$ export GOPROXY="https://goproxy.cn"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,6 @@ client response result: name:"Hello laurence" id:"12345" age:21

获得调用结果成功

> ## 更多
## 更多

> 细心的读者可以发现,以上例子编写的的服务端可以接受来自客户端的普通RPC、流式RPC调用请求。目前只编写了普通调用的Client,读者可以根据 samples 库中的例子来尝试编写流式客户端和服务端。
Original file line number Diff line number Diff line change
Expand Up @@ -211,5 +211,6 @@ go run cmd/client.go
2022-12-30T20:59:19.982+0800 INFO cmd/client.go:52 get id result: aafd9c73-4014-4d67-a67f-5d107105647b

```
> ## 更多
## 更多

> 可以发现注册中心我们是使用nacos,当然,我们也可以使用其他的注册中心,更多的使用方式,可以参考[注册中心](/zh-cn/overview/mannual/golang-sdk/tutorial/develop/registry/)
8 changes: 3 additions & 5 deletions content/zh-cn/overview/quickstart/go/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,19 @@ weight: 1

### 1. 安装Go语言环境

建议使用最新版 go 1.17

go version >= go 1.15
> go version >= go 1.15。建议使用最新版 go 1.19
[【Go 语言官网下载地址】](https://golang.google.cn/)

$GOPATH/bin 加入环境变量
安装成功后将 `$GOPATH/bin` 加入环境变量

### 2. 安装序列化工具protoc

[【protoc 下载地址】](https://github.com/protocolbuffers/protobuf/releases)

### 3. 安装 dubbogo-cli 以及相关插件

执行以下指令安装dubbogo-cli 至 $GOPATH/bin
执行以下指令安装dubbogo-cli 至 `$GOPATH/bin`

```bash
$ export GOPROXY="https://goproxy.cn"
Expand Down

0 comments on commit 5f6a6cb

Please sign in to comment.