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

feat:a restful api template #191

Merged
merged 4 commits into from
Jun 2, 2024
Merged

feat:a restful api template #191

merged 4 commits into from
Jun 2, 2024

Conversation

yuxialuozi
Copy link
Contributor

What type of PR is this?

feat

What this PR does / why we need it (en: English/zh: Chinese):

en: A new template for restful has been added, and the status code 200 will not all be returned in handler.
zh:增加了一个restful的新模板,在handler里面不会全部返回200。

Which issue(s) this PR fixes:

pkg/consts/const.go Outdated Show resolved Hide resolved
@yuxialuozi
Copy link
Contributor Author

rpc还是和原来一样,限定了只有http能够使用新模板

@li-jin-gou
Copy link
Member

li-jin-gou commented Jun 2, 2024 via email

@li-jin-gou li-jin-gou merged commit 14939c0 into cloudwego:main Jun 2, 2024
5 checks passed
@yuxialuozi yuxialuozi deleted the tmlExp branch July 25, 2024 05:31
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