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

Add netip conversions to manet #262

Open
phillebaba opened this issue Jan 15, 2025 · 0 comments
Open

Add netip conversions to manet #262

phillebaba opened this issue Jan 15, 2025 · 0 comments

Comments

@phillebaba
Copy link

The netip package has been around for a while in stdlib and build upon the original net package. Currently there are helper functions in the manet package that convert from and to net data types and multi addresses.

https://pkg.go.dev/github.com/multiformats/[email protected]/net#ToIP
https://pkg.go.dev/github.com/multiformats/[email protected]/net#FromNetAddr

It would be nice to expand on these functions and add support for netip data types along side the existing functions.

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

1 participant