BUILD 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. )
  6. go_library(
  7. name = "go_default_library",
  8. srcs = [
  9. "base.go",
  10. "paramter.go",
  11. "past.go",
  12. "rating.go",
  13. "run.go",
  14. "score.go",
  15. "service.go",
  16. "statistics.go",
  17. "task_status.go",
  18. "top.go",
  19. "trend.go",
  20. "trend_heap.go",
  21. ],
  22. importpath = "go-common/app/job/main/up-rating/service",
  23. tags = ["automanaged"],
  24. visibility = ["//visibility:public"],
  25. deps = [
  26. "//app/job/main/up-rating/conf:go_default_library",
  27. "//app/job/main/up-rating/dao:go_default_library",
  28. "//app/job/main/up-rating/model:go_default_library",
  29. "//library/log:go_default_library",
  30. "//library/time:go_default_library",
  31. "//vendor/golang.org/x/sync/errgroup:go_default_library",
  32. ],
  33. )
  34. filegroup(
  35. name = "package-srcs",
  36. srcs = glob(["**"]),
  37. tags = ["automanaged"],
  38. visibility = ["//visibility:private"],
  39. )
  40. filegroup(
  41. name = "all-srcs",
  42. srcs = [":package-srcs"],
  43. tags = ["automanaged"],
  44. visibility = ["//visibility:public"],
  45. )