BUILD 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. "admin_test.go",
  11. "block_test.go",
  12. "business_test.go",
  13. "config_test.go",
  14. "dao_test.go",
  15. "emoji_package_test.go",
  16. "emoji_test.go",
  17. "event_test.go",
  18. "fold_test.go",
  19. "http_filter_test.go",
  20. "http_search_test.go",
  21. "http_title_test.go",
  22. "logReport_test.go",
  23. "memcache_test.go",
  24. "message_test.go",
  25. "notice_test.go",
  26. "redis_test.go",
  27. "reply_content_test.go",
  28. "reply_test.go",
  29. "report_test.go",
  30. "search_test.go",
  31. "stat_test.go",
  32. "subject_test.go",
  33. "workflow_test.go",
  34. ],
  35. embed = [":go_default_library"],
  36. rundir = ".",
  37. tags = ["automanaged"],
  38. deps = [
  39. "//app/admin/main/reply/conf:go_default_library",
  40. "//app/admin/main/reply/model:go_default_library",
  41. "//library/conf/env:go_default_library",
  42. "//library/time:go_default_library",
  43. "//vendor/github.com/go-sql-driver/mysql:go_default_library",
  44. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  45. ],
  46. )
  47. go_library(
  48. name = "go_default_library",
  49. srcs = [
  50. "admin.go",
  51. "block.go",
  52. "business.go",
  53. "config.go",
  54. "dao.go",
  55. "emoji.go",
  56. "emoji_package.go",
  57. "event.go",
  58. "fold.go",
  59. "http_filter.go",
  60. "http_search.go",
  61. "http_title.go",
  62. "logReport.go",
  63. "memcache.go",
  64. "message.go",
  65. "notice.go",
  66. "redis.go",
  67. "reply.go",
  68. "reply_content.go",
  69. "report.go",
  70. "stat.go",
  71. "subject.go",
  72. "workflow.go",
  73. ],
  74. importpath = "go-common/app/admin/main/reply/dao",
  75. tags = ["automanaged"],
  76. visibility = ["//visibility:public"],
  77. deps = [
  78. "//app/admin/main/reply/conf:go_default_library",
  79. "//app/admin/main/reply/model:go_default_library",
  80. "//library/cache/memcache:go_default_library",
  81. "//library/cache/redis:go_default_library",
  82. "//library/database/elastic:go_default_library",
  83. "//library/database/sql:go_default_library",
  84. "//library/ecode:go_default_library",
  85. "//library/log:go_default_library",
  86. "//library/net/http/blademaster:go_default_library",
  87. "//library/queue/databus:go_default_library",
  88. "//library/sync/errgroup:go_default_library",
  89. "//library/time:go_default_library",
  90. "//library/xstr:go_default_library",
  91. ],
  92. )
  93. filegroup(
  94. name = "package-srcs",
  95. srcs = glob(["**"]),
  96. tags = ["automanaged"],
  97. visibility = ["//visibility:private"],
  98. )
  99. filegroup(
  100. name = "all-srcs",
  101. srcs = [":package-srcs"],
  102. tags = ["automanaged"],
  103. visibility = ["//visibility:public"],
  104. )