BUILD 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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 = [
  10. "index_test.go",
  11. "reply_test.go",
  12. "service_test.go",
  13. ],
  14. embed = [":go_default_library"],
  15. rundir = ".",
  16. tags = ["automanaged"],
  17. deps = [
  18. "//app/job/main/reply/conf:go_default_library",
  19. "//vendor/github.com/go-sql-driver/mysql:go_default_library",
  20. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  21. ],
  22. )
  23. go_library(
  24. name = "go_default_library",
  25. srcs = [
  26. "admin.go",
  27. "business.go",
  28. "fold.go",
  29. "index.go",
  30. "notify.go",
  31. "reply.go",
  32. "service.go",
  33. "spam.go",
  34. "upper.go",
  35. ],
  36. importpath = "go-common/app/job/main/reply/service",
  37. tags = ["automanaged"],
  38. visibility = ["//visibility:public"],
  39. deps = [
  40. "//app/interface/openplatform/article/model:go_default_library",
  41. "//app/interface/openplatform/article/rpc/client:go_default_library",
  42. "//app/job/main/reply/conf:go_default_library",
  43. "//app/job/main/reply/dao/message:go_default_library",
  44. "//app/job/main/reply/dao/notice:go_default_library",
  45. "//app/job/main/reply/dao/reply:go_default_library",
  46. "//app/job/main/reply/dao/search:go_default_library",
  47. "//app/job/main/reply/dao/spam:go_default_library",
  48. "//app/job/main/reply/dao/stat:go_default_library",
  49. "//app/job/main/reply/model/reply:go_default_library",
  50. "//app/service/main/account/api:go_default_library",
  51. "//app/service/main/archive/api:go_default_library",
  52. "//app/service/main/archive/api/gorpc:go_default_library",
  53. "//app/service/main/archive/model/archive:go_default_library",
  54. "//app/service/main/assist/model/assist:go_default_library",
  55. "//app/service/main/assist/rpc/client:go_default_library",
  56. "//app/service/main/relation/model:go_default_library",
  57. "//app/service/openplatform/pgc-season/api/grpc/episode/v1:go_default_library",
  58. "//library/database/elastic:go_default_library",
  59. "//library/database/sql:go_default_library",
  60. "//library/ecode:go_default_library",
  61. "//library/log:go_default_library",
  62. "//library/net/http/blademaster:go_default_library",
  63. "//library/net/rpc/warden:go_default_library",
  64. "//library/queue/databus:go_default_library",
  65. "//library/sync/pipeline/fanout:go_default_library",
  66. "//library/time:go_default_library",
  67. ],
  68. )
  69. filegroup(
  70. name = "package-srcs",
  71. srcs = glob(["**"]),
  72. tags = ["automanaged"],
  73. visibility = ["//visibility:private"],
  74. )
  75. filegroup(
  76. name = "all-srcs",
  77. srcs = [":package-srcs"],
  78. tags = ["automanaged"],
  79. visibility = ["//visibility:public"],
  80. )