Making resolveGo public (#642)
Making resolveGo public (#642)

Other Gazelle extensions may need to resolve Go packages into Bazel labels too. For example, if an extension wants to generate gomock rule, the library parameter needs to be resolved.

This PR make golang.resolveGo public so it can be reused by other extensions.
bazelbuild/bazel-gazelle,bazelbuild/bazel-gazelle