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

关于命名 #167

Open
geon6 opened this issue Jan 17, 2025 · 1 comment
Open

关于命名 #167

geon6 opened this issue Jan 17, 2025 · 1 comment

Comments

@geon6
Copy link

geon6 commented Jan 17, 2025

example里面有大量类似ctx context.Context, c *app.RequestContextc context.Context, ctx *app.RequestContext的命名, 官方有什么建议or讲究吗, 为什么不统一一下

@GuangmingLuo
Copy link
Member

这个确实有历史原因,现在统一这样命名,参考官网文档 func(ctx context.Context, c *app.RequestContext)
有兴趣可以提个 PR 修复统一下

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

No branches or pull requests

2 participants