BUILD.bazel.in 462 B

123456789101112131415161718
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "code_string.go",
  6. "codes.go",
  7. ],
  8. importpath = "google.golang.org/grpc/codes",
  9. visibility = ["//visibility:public"],
  10. )
  11. go_test(
  12. name = "go_default_test",
  13. srcs = ["codes_test.go"],
  14. embed = [":go_default_library"],
  15. deps = ["@org_golang_google_genproto//googleapis/rpc/code:go_default_library"],
  16. )