github.com/grpc-ecosystem/grpc-gateway/v2@v2.19.1/examples/internal/gateway/BUILD.bazel (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_library") 2 3 go_library( 4 name = "gateway", 5 srcs = [ 6 "doc.go", 7 "gateway.go", 8 "handlers.go", 9 "main.go", 10 ], 11 importpath = "github.com/grpc-ecosystem/grpc-gateway/v2/examples/internal/gateway", 12 visibility = ["//visibility:public"], 13 deps = [ 14 "//examples/internal/proto/examplepb", 15 "//examples/internal/proto/standalone", 16 "//runtime", 17 "@org_golang_google_genproto_googleapis_rpc//errdetails", 18 "@org_golang_google_grpc//:go_default_library", 19 "@org_golang_google_grpc//connectivity", 20 "@org_golang_google_grpc//credentials/insecure", 21 "@org_golang_google_grpc//grpclog", 22 ], 23 ) 24 25 alias( 26 name = "go_default_library", 27 actual = ":gateway", 28 visibility = ["//examples:__subpackages__"], 29 )