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

添加 net/http: ServeMux 的支持 #45

Open
alimy opened this issue Feb 19, 2024 · 0 comments
Open

添加 net/http: ServeMux 的支持 #45

alimy opened this issue Feb 19, 2024 · 0 comments
Assignees
Labels

Comments

@alimy
Copy link
Owner

alimy commented Feb 19, 2024

需求:

  • 添加 net/http: ServeMux 的支持

方案1:

  • 只支持go1.22+ 的 net/http: ServeMux

方案2:

  • 通过选项支持<go1.21 与 go1.22+ 的 net/http: ServeMux

目前比较倾向于方案1,因为go1.22+后 net/http: ServeMux 添加了很多实用的功能,更值得使用,所以go-mir对其提供支持才更有意义。

@alimy alimy self-assigned this Feb 19, 2024
@alimy alimy added the feature label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant