File: BUILD.bazel

package info (click to toggle)
golang-github-grpc-ecosystem-grpc-gateway.v2 2.11.3-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 6,148 kB
  • sloc: javascript: 352; makefile: 136; sh: 26
file content (18 lines) | stat: -rw-r--r-- 535 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
    name = "example-gateway-server_lib",
    srcs = ["main.go"],
    importpath = "github.com/grpc-ecosystem/grpc-gateway/v2/examples/internal/cmd/example-gateway-server",
    visibility = ["//visibility:private"],
    deps = [
        "//examples/internal/gateway",
        "@com_github_golang_glog//:glog",
    ],
)

go_binary(
    name = "example-gateway-server",
    embed = [":example-gateway-server_lib"],
    visibility = ["//visibility:public"],
)