def bazel_go_library(pkg):
    """Returns the Bazel label for the Go library for the provided package.
    This is intended to be used with the //build:kazel_generated.bzl tag dictionaries; for example:
    load("//build:kazel_generated.bzl", "tags_values_pkgs")
    some_rule(
        ...
        deps = [bazel_go_library(pkg) for pkg in tags_values_pkgs["openapi-gen"]["true"]],
        ...
    )
    """
    return "//%s:go_default_library" % pkg