BUILD 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. "bfs_test.go",
  21. "dao_test.go",
  22. "face_history_test.go",
  23. "member_test.go",
  24. "merak_test.go",
  25. "message_test.go",
  26. "monitor_test.go",
  27. "official_test.go",
  28. "passport_test.go",
  29. "realname_test.go",
  30. "redis_test.go",
  31. "review_test.go",
  32. "search_test.go",
  33. ],
  34. embed = [":go_default_library"],
  35. rundir = ".",
  36. tags = ["automanaged"],
  37. deps = [
  38. "//app/admin/main/member/conf:go_default_library",
  39. "//app/admin/main/member/model:go_default_library",
  40. "//library/time:go_default_library",
  41. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  42. "//vendor/github.com/tsuna/gohbase/hrpc:go_default_library",
  43. "//vendor/gopkg.in/h2non/gock.v1:go_default_library",
  44. ],
  45. )
  46. go_library(
  47. name = "go_default_library",
  48. srcs = [
  49. "bfs.go",
  50. "dao.go",
  51. "face_history.go",
  52. "member.go",
  53. "merak.go",
  54. "message.go",
  55. "monitor.go",
  56. "official.go",
  57. "passport.go",
  58. "realname.go",
  59. "realname_old.go",
  60. "redis.go",
  61. "review.go",
  62. "search.go",
  63. ],
  64. importpath = "go-common/app/admin/main/member/dao",
  65. tags = ["automanaged"],
  66. visibility = ["//visibility:public"],
  67. deps = [
  68. "//app/admin/main/member/conf:go_default_library",
  69. "//app/admin/main/member/dao/block:go_default_library",
  70. "//app/admin/main/member/model:go_default_library",
  71. "//library/cache/memcache:go_default_library",
  72. "//library/cache/redis:go_default_library",
  73. "//library/database/elastic:go_default_library",
  74. "//library/database/hbase.v2:go_default_library",
  75. "//library/database/orm:go_default_library",
  76. "//library/database/sql:go_default_library",
  77. "//library/ecode:go_default_library",
  78. "//library/log:go_default_library",
  79. "//library/net/http/blademaster:go_default_library",
  80. "//library/net/ip:go_default_library",
  81. "//library/net/metadata:go_default_library",
  82. "//library/queue/databus:go_default_library",
  83. "//library/sync/errgroup:go_default_library",
  84. "//library/time:go_default_library",
  85. "//library/xstr:go_default_library",
  86. "//vendor/github.com/jinzhu/gorm:go_default_library",
  87. "//vendor/github.com/pkg/errors:go_default_library",
  88. "//vendor/github.com/tsuna/gohbase/hrpc:go_default_library",
  89. ],
  90. )
  91. filegroup(
  92. name = "package-srcs",
  93. srcs = glob(["**"]),
  94. tags = ["automanaged"],
  95. visibility = ["//visibility:private"],
  96. )
  97. filegroup(
  98. name = "all-srcs",
  99. srcs = [
  100. ":package-srcs",
  101. "//app/admin/main/member/dao/block:all-srcs",
  102. ],
  103. tags = ["automanaged"],
  104. visibility = ["//visibility:public"],
  105. )