BUILD 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_test",
  4. "go_library",
  5. )
  6. load(
  7. "@io_bazel_rules_go//go:def.bzl",
  8. "go_test",
  9. "go_library",
  10. )
  11. package(default_visibility = ["//visibility:public"])
  12. load(
  13. "@io_bazel_rules_go//go:def.bzl",
  14. "go_test",
  15. "go_library",
  16. )
  17. go_test(
  18. name = "go_default_test",
  19. srcs = [
  20. "member_test.go",
  21. "official_test.go",
  22. "review_test.go",
  23. "service_test.go",
  24. ],
  25. embed = [":go_default_library"],
  26. rundir = ".",
  27. tags = ["automanaged"],
  28. deps = [
  29. "//app/admin/main/member/conf:go_default_library",
  30. "//app/admin/main/member/model:go_default_library",
  31. "//library/time:go_default_library",
  32. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  33. ],
  34. )
  35. go_library(
  36. name = "go_default_library",
  37. srcs = [
  38. "member.go",
  39. "monitor.go",
  40. "official.go",
  41. "realname.go",
  42. "review.go",
  43. "review_audit.go",
  44. "service.go",
  45. ],
  46. importpath = "go-common/app/admin/main/member/service",
  47. tags = ["automanaged"],
  48. visibility = ["//visibility:public"],
  49. deps = [
  50. "//app/admin/main/member/conf:go_default_library",
  51. "//app/admin/main/member/dao:go_default_library",
  52. "//app/admin/main/member/model:go_default_library",
  53. "//app/admin/main/member/model/block:go_default_library",
  54. "//app/admin/main/member/model/bom:go_default_library",
  55. "//app/admin/main/member/service/block:go_default_library",
  56. "//app/interface/main/account/service/realname/crypto:go_default_library",
  57. "//app/service/main/account/api:go_default_library",
  58. "//app/service/main/coin/api/gorpc:go_default_library",
  59. "//app/service/main/coin/model:go_default_library",
  60. "//app/service/main/figure/rpc/client:go_default_library",
  61. "//app/service/main/member/api/gorpc:go_default_library",
  62. "//app/service/main/member/model:go_default_library",
  63. "//app/service/main/member/model/block:go_default_library",
  64. "//app/service/main/member/service/crypto:go_default_library",
  65. "//app/service/main/relation/model:go_default_library",
  66. "//app/service/main/relation/rpc/client:go_default_library",
  67. "//app/service/main/spy/model:go_default_library",
  68. "//app/service/main/spy/rpc/client:go_default_library",
  69. "//library/ecode:go_default_library",
  70. "//library/log:go_default_library",
  71. "//library/net/metadata:go_default_library",
  72. "//library/queue/databus:go_default_library",
  73. "//library/queue/databus/report:go_default_library",
  74. "//library/stat/prom:go_default_library",
  75. "//library/time:go_default_library",
  76. "//vendor/github.com/nfnt/resize:go_default_library",
  77. "//vendor/github.com/pkg/errors:go_default_library",
  78. "//vendor/github.com/robfig/cron:go_default_library",
  79. ],
  80. )
  81. filegroup(
  82. name = "package-srcs",
  83. srcs = glob(["**"]),
  84. tags = ["automanaged"],
  85. visibility = ["//visibility:private"],
  86. )
  87. filegroup(
  88. name = "all-srcs",
  89. srcs = [
  90. ":package-srcs",
  91. "//app/admin/main/member/service/block:all-srcs",
  92. ],
  93. tags = ["automanaged"],
  94. visibility = ["//visibility:public"],
  95. )