-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add ResolveTCPAddr ResolveUnixAddr #5
Comments
Hello @hmmftg, I believe based on your err listing that you're using standard TinyGo compiler, which doesn't have support for net.ResolveXXXAddr. This github project (tinygo-org/net) is an effort to update TinyGo's net package support, but it is not included in standard TinyGo. It will be in the future and it will include support for net.ResolveXXXAddr. A work-around for you would be to add stubbed out versions of net.ResolveTCPAddr to the tinygo project (tinygo-org/tinygo/src/net). Just to make the compiler happy so you can continue. An alternate work-around is to try with the development version of TinyGo that includes this github project. I can give you tips on building a custom tinygo if you want to go this route. |
@hmmftg, if you don't want to wait for the next release, please try the dev version of TinyGo. It should have support:
|
actually I was thinking about migrating a big rest api written with gin to tiny go, it seems I'm going in wrong path. no? |
Hi, I newly started using tiny go, when I tried build my gin project I got these errors:
I don't really need ResolveTCPAddr but if you please add this method to library, I can start using tinygo.
The text was updated successfully, but these errors were encountered: