mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-24 20:52:22 +00:00
19 lines
531 B
Python
Executable File
19 lines
531 B
Python
Executable File
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"],
|
|
)
|