BUILD 931 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_test",
  5. "go_library",
  6. )
  7. go_test(
  8. name = "go_default_test",
  9. srcs = ["up_test.go"],
  10. embed = [":go_default_library"],
  11. tags = ["automanaged"],
  12. deps = ["//app/service/main/up/model:go_default_library"],
  13. )
  14. go_library(
  15. name = "go_default_library",
  16. srcs = ["up.go"],
  17. importpath = "go-common/app/service/main/up/api/gorpc",
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. deps = [
  21. "//app/service/main/up/model:go_default_library",
  22. "//library/net/rpc:go_default_library",
  23. ],
  24. )
  25. filegroup(
  26. name = "package-srcs",
  27. srcs = glob(["**"]),
  28. tags = ["automanaged"],
  29. visibility = ["//visibility:private"],
  30. )
  31. filegroup(
  32. name = "all-srcs",
  33. srcs = [":package-srcs"],
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:public"],
  36. )