mirror of
https://github.com/netbirdio/gomobile-tvos-fork.git
synced 2026-05-22 18:43:29 -07:00
This fixes the 'unable to import bind' error when gomobile-tvos-fork is installed via 'go install' and used to build packages outside the fork's module context. The fix uses debug.ReadBuildInfo() to determine where the fork is installed (either in GOPATH/src or module cache) and constructs paths to bind packages directly, avoiding the dependency on packages.Load which requires packages to be in the current module's dependency graph.