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

Support Go 1.22 net/http #27

Open
zztkm opened this issue Apr 28, 2024 · 2 comments
Open

Support Go 1.22 net/http #27

zztkm opened this issue Apr 28, 2024 · 2 comments

Comments

@zztkm
Copy link

zztkm commented Apr 28, 2024

Summary

I want to build a program with TinyGo that uses the enhanced routing features in Go 1.22.

Background

Thank you for your wonderful work on TinyGo.

@scottfeldman
Copy link
Contributor

There are two options to bring in that support from 1.22.

First option is to update net/http in this repo to bring in the 1.22 updates. The net/http in this repo is a stripped down version of upstream net/http, last update was to 1.21.4.

The second option is to wait until the full upstream net/http package is working with TinyGo, unmodified. I started work on option 2 in tinygo-org/tinygo#4187.

@zztkm
Copy link
Author

zztkm commented Apr 29, 2024

Thanks for the reply.
I have the option to build with Go, so I will choose Option 2.

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

2 participants