Skip to content

Conversation

@jexjws
Copy link
Contributor

@jexjws jexjws commented Oct 27, 2025

No description provided.

- Change "Getting Started" to "Features" in English documentation
- Change "快速上手" to "特色介绍" in Chinese documentation
- Add new pages
@jexjws jexjws requested review from a team as code owners October 27, 2025 15:16
@netlify
Copy link

netlify bot commented Oct 27, 2025

Deploy Preview for cloudwego ready!

Name Link
🔨 Latest commit b5c2716
🔍 Latest deploy log https://app.netlify.com/projects/cloudwego/deploys/68ff8ce29d738b000886a105
😎 Deploy Preview https://deploy-preview-1451--cloudwego.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

struct MyMacroService;

// --- Implement `Service` using the `#[service]` macro ---
#[service]
Copy link

Choose a reason for hiding this comment

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

这个 service macro 目前不需要了,因为 async fn in trait 已经 stable 了

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK,所以 service macro 是为了兼容性而保留的是吧,我等会更新下

Copy link

Choose a reason for hiding this comment

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

好滴,非常感谢你的贡献呀,这个我们后面看下标注上 deprecated,或者你这边可以帮忙提个 pr 吗~

&self,
cx: &mut MyContext,
req: String,
) -> impl Future<Output = Result<Self::Response, Self::Error>> + Send {
Copy link

Choose a reason for hiding this comment

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

这里也同上,可以直接写为 async fn 了

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants