BUILD 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. "action_test.go",
  11. "admin_test.go",
  12. "business_test.go",
  13. "config_test.go",
  14. "event_test.go",
  15. "moral_test.go",
  16. "notice_test.go",
  17. "reply_test.go",
  18. "report_test.go",
  19. "service_test.go",
  20. "subject_test.go",
  21. ],
  22. embed = [":go_default_library"],
  23. rundir = ".",
  24. tags = ["automanaged"],
  25. deps = [
  26. "//app/admin/main/reply/conf:go_default_library",
  27. "//app/admin/main/reply/model:go_default_library",
  28. "//library/log:go_default_library",
  29. "//library/time:go_default_library",
  30. "//vendor/github.com/go-sql-driver/mysql:go_default_library",
  31. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  32. ],
  33. )
  34. go_library(
  35. name = "go_default_library",
  36. srcs = [
  37. "action.go",
  38. "admin.go",
  39. "business.go",
  40. "config.go",
  41. "emoji.go",
  42. "emoji_package.go",
  43. "event.go",
  44. "fold.go",
  45. "monitor.go",
  46. "moral.go",
  47. "notice.go",
  48. "reply.go",
  49. "report.go",
  50. "service.go",
  51. "subject.go",
  52. ],
  53. importpath = "go-common/app/admin/main/reply/service",
  54. tags = ["automanaged"],
  55. visibility = ["//visibility:public"],
  56. deps = [
  57. "//app/admin/main/reply/conf:go_default_library",
  58. "//app/admin/main/reply/dao:go_default_library",
  59. "//app/admin/main/reply/model:go_default_library",
  60. "//app/interface/openplatform/article/model:go_default_library",
  61. "//app/interface/openplatform/article/rpc/client:go_default_library",
  62. "//app/service/main/account/api:go_default_library",
  63. "//app/service/main/archive/api:go_default_library",
  64. "//app/service/main/archive/api/gorpc:go_default_library",
  65. "//app/service/main/archive/model/archive:go_default_library",
  66. "//app/service/main/relation/model:go_default_library",
  67. "//app/service/main/relation/rpc/client:go_default_library",
  68. "//app/service/main/thumbup/api:go_default_library",
  69. "//library/database/sql:go_default_library",
  70. "//library/ecode:go_default_library",
  71. "//library/log:go_default_library",
  72. "//library/net/http/blademaster:go_default_library",
  73. "//library/net/metadata:go_default_library",
  74. "//library/net/rpc/warden:go_default_library",
  75. "//library/queue/databus/report:go_default_library",
  76. "//library/sync/errgroup:go_default_library",
  77. "//library/sync/errgroup.v2:go_default_library",
  78. "//library/sync/pipeline/fanout:go_default_library",
  79. "//library/time:go_default_library",
  80. ],
  81. )
  82. filegroup(
  83. name = "package-srcs",
  84. srcs = glob(["**"]),
  85. tags = ["automanaged"],
  86. visibility = ["//visibility:private"],
  87. )
  88. filegroup(
  89. name = "all-srcs",
  90. srcs = [":package-srcs"],
  91. tags = ["automanaged"],
  92. visibility = ["//visibility:public"],
  93. )