17 lines
470 B
Python
17 lines
470 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["metadata.go"],
|
|
importpath = "google.golang.org/grpc/metadata",
|
|
visibility = ["//visibility:public"],
|
|
deps = ["@org_golang_x_net//context:go_default_library"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["metadata_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = ["@org_golang_x_net//context:go_default_library"],
|
|
)
|