Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add FAQ and best practice docs #1060

Merged
merged 12 commits into from
May 19, 2024
Merged

Conversation

cqqqq777
Copy link
Member

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

@cqqqq777 cqqqq777 requested review from a team as code owners April 18, 2024 14:30
Copy link

vercel bot commented Apr 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cloudwego ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 19, 2024 8:24am

@AsterDY
Copy link
Contributor

AsterDY commented May 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cloudwego ❌ Failed (Inspect) May 1, 2024 4:04pm

预览部署挂了?

@GuangmingLuo
Copy link
Member

Error: Error building site: "/vercel/path0/content/en/docs/kitex/Tutorials/code-gen/custom_struct_tags.md:7:1": failed to unmarshal YAML: yaml: line 6: did not find expected comment or line break

@AsterDY AsterDY merged commit c7da1fe into cloudwego:main May 19, 2024
4 checks passed

知道了错误原因之后,接下来就要定位错误的代码位置。首先我们学习如何看错误栈,从哪里开始看。

![image](/img/blog/x_self_check/panic_stack.png)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/img/blog/Kitex_self_check/panic_stack.png


找到了错误栈的起始位置后,紧跟着的下一行,就是 panic 报错的具体方法。

![image](/img/blog/x_self_check/panic_stack.png)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/img/blog/Kitex_self_check/panic_stack.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

3 participants