BUILD 1.4 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. "databus.go",
  10. "loader.go",
  11. "reply_set.go",
  12. "reply_zset.go",
  13. "service.go",
  14. "stat.go",
  15. "statistics.go",
  16. ],
  17. importpath = "go-common/app/job/main/reply-feed/service",
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. deps = [
  21. "//app/job/main/reply-feed/conf:go_default_library",
  22. "//app/job/main/reply-feed/dao:go_default_library",
  23. "//app/job/main/reply-feed/model:go_default_library",
  24. "//library/cache/redis:go_default_library",
  25. "//library/ecode:go_default_library",
  26. "//library/log:go_default_library",
  27. "//library/net/netutil:go_default_library",
  28. "//library/queue/databus:go_default_library",
  29. "//library/sync/pipeline/fanout:go_default_library",
  30. "//vendor/github.com/ivpusic/grpool:go_default_library",
  31. "//vendor/github.com/robfig/cron: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. )