mirror of
https://github.com/TECHNOFAB11/powerproto.git
synced 2025-12-11 23:50:04 +01:00
docs(readme): add go version suggestion in doc
Signed-off-by: storyicon <yuanchao@bilibili.com>
This commit is contained in:
parent
aed8ad1615
commit
a7beaa6416
2 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ PowerProto is used to solve the following three main problems:
|
|||
|
||||
## Installation and Dependencies
|
||||
|
||||
1. The current version of `PowerProto` relies on `go` and `git` (in the future it may use CDN to pull built binaries directly), please make sure the runtime environment contains these two commands.
|
||||
1. The current version of `PowerProto` relies on `go`(>=1.16) and `git` (in the future it may use CDN to pull built binaries directly), please make sure the runtime environment contains these two commands.
|
||||
2. `protoc` download source is Github, `PowerProto` respects `HTTP_PROXY`, `HTTPS_PROXY` environment variables when downloading `protoc`, if you encounter network problems, please configure your own proxy.
|
||||
3. When querying the version list of `protoc`, `git ls-remote` is used for `github.com`, if you encounter network problems, please configure the proxy for `git` by yourself.
|
||||
4. In the current version, downloading and querying plugin versions rely on the `go` command, so if you encounter network problems, please configure the `GOPROXY` environment variable yourself.
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ PowerProto主要用于解决下面三个问题:
|
|||
|
||||
## 安装与依赖
|
||||
|
||||
1. 目前版本的 `PowerProto` 依赖 `go` 以及 `git`(未来可能会直接使用CDN拉取构建好的二进制),请确保运行环境中包含这两个命令。
|
||||
1. 目前版本的 `PowerProto` 依赖 `go`(>=1.16) 以及 `git`(未来可能会直接使用CDN拉取构建好的二进制),请确保运行环境中包含这两个命令。
|
||||
2. `protoc`的下载源是Github,`PowerProto`在下载`protoc`时尊重 `HTTP_PROXY`、`HTTPS_PROXY`环境变量,如果遇到网络问题,请自行配置代理。
|
||||
3. 在查询`protoc`的版本列表时,会对`github.com`使用`git ls-remote`,如果遇到网络问题,请自行为`git`配置代理。
|
||||
4. 在当前版本,下载和查询插件版本均依赖`go`命令,所以如果遇到网络问题,请自行配置 `GOPROXY`环境变量。
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue