Skip to content

Conversation

@Skyenought
Copy link
Contributor

@Skyenought Skyenought commented Jul 29, 2024

What type of PR is this?

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

Which issue(s) this PR fixes:

cloudwego/cloudwego.github.io#1111

@Skyenought Skyenought requested review from a team as code owners July 29, 2024 06:45
Duslia
Duslia previously approved these changes Jul 29, 2024
h.Use(func(ctx context.Context, c *app.RequestContext) {
fmt.Println("pre-handler")
ctx.Next(c)
c.Next(c)
Copy link
Member

Choose a reason for hiding this comment

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

这个不太对,c.Next(ctx) 另外其他的地方也扫下呢

@Skyenought
Copy link
Contributor Author

使用 staticcheck 检查过了, 可以 merge 了

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.

3 participants