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

WechatPayNotifyValidator Validate 传参建议 #47

Open
anonymous5l opened this issue Jul 31, 2021 · 1 comment
Open

WechatPayNotifyValidator Validate 传参建议 #47

anonymous5l opened this issue Jul 31, 2021 · 1 comment
Assignees

Comments

@anonymous5l
Copy link

  • Go 版本:1.6.4
  • wechatpay-go 版本:v0.2.5

WechatPayNotifyValidatorValidate 直传*http.Request是不是太粗暴了 如果我用的别的 web 框架库将无法支持比如fasthttp 这个库内建了 Request 如果是需要取HTTP Header 可以构造个结构传递到方法内呀... 现在我只能将 Validate 内部方法提取出来重新实现一遍

@yuangu
Copy link

yuangu commented Nov 13, 2023

mark, gofiber用户表示不太友好

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

No branches or pull requests

4 participants