zeromicro / zeromicro/zero-doc

教程细节错误 BUG of [Rapid development of microservices - multiple RPCs]

Open
#151 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
600
Forks
249
PR merge metrics
No merged PRs in 30d

Description

关键字 升级 goctl, 中文版 书店 教程

VERSION: v1.4.0

DATE: 2022年8月22日14:02:23

URL: https://github.com/zeromicro/zero-doc/blob/main/docs/zero/bookstore.md

问题: 示例中 $ goctl env check -i -f 不能获得 [goctl-env].... 的实际输出

解决: 需要额外增加 -v 参数, 如下所示

C:\>goctl env check -ivf
[goctl-env]: preparing to check env

[goctl-env]: looking up "protoc"
[goctl-env]: "protoc" is installed

[goctl-env]: looking up "protoc-gen-go"
[goctl-env]: "protoc-gen-go" is installed

[goctl-env]: looking up "protoc-gen-go-grpc"
[goctl-env]: "protoc-gen-go-grpc" is installed

[goctl-env]: congratulations! your goctl environment is ready!

C:\>goctl env check -i -f

C:\>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open docs/zero/bookstore.md from the issue URL and find the goctl env check -i -f example. Verify the documented command against the reported goctl env check -ivf output, then update the example so it shows the expected environment-check messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.