19 lines
531 B
Python
19 lines
531 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["main.go"],
|
|
importpath = "github.com/grpc-ecosystem/grpc-gateway/examples/cmd/example-gateway-server",
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"//examples/gateway:go_default_library",
|
|
"@com_github_golang_glog//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "example-gateway-server",
|
|
embed = [":go_default_library"],
|
|
visibility = ["//visibility:public"],
|
|
)
|