Skip to content

How to use this library? #10

@tri-bao

Description

@tri-bao

hi @wlynxg

Thank you very much for creating this lib. I am using another 3rd lib which internally uses net.Interfaces() and as expected it fails on android. I couldn't change source code of that lib to use your anet.Interfaces(). How can I use this lib to work around the issue? I'm very new to golang, kind of couple weeks of experiences. I read and try to understand how //go:linkname could help in this case. I vaguely imagine //go:linkname will help link/replace the go internal implementation with yours. However, I couldn't make it work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions