...

Text file src/github.com/grpc-ecosystem/grpc-gateway/examples/internal/cmd/example-grpc-server/BUILD.bazel

Documentation: github.com/grpc-ecosystem/grpc-gateway/examples/internal/cmd/example-grpc-server

     1load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
     2
     3package(default_visibility = ["//visibility:private"])
     4
     5go_library(
     6    name = "go_default_library",
     7    srcs = ["main.go"],
     8    importpath = "github.com/grpc-ecosystem/grpc-gateway/examples/internal/cmd/example-grpc-server",
     9    deps = [
    10        "//examples/internal/server:go_default_library",
    11        "@com_github_golang_glog//:go_default_library",
    12    ],
    13)
    14
    15go_binary(
    16    name = "example-server",
    17    embed = [":go_default_library"],
    18    visibility = ["//visibility:public"],
    19)

View as plain text