load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
    name = "go_default_library",
    srcs = ["main.go"],
    importpath = "google.golang.org/grpc/examples/oauth/client",
    visibility = ["//visibility:private"],
    deps = [
        "//:go_default_library",
        "//credentials:go_default_library",
        "//credentials/oauth:go_default_library",
        "//examples/helloworld/helloworld:go_default_library",
        "@org_golang_x_net//context:go_default_library",
        "@org_golang_x_oauth2//:go_default_library",
    ],
)

go_binary(
    name = "client",
    embed = [":go_default_library"],
    visibility = ["//visibility:public"],
)
