BUILD 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. "associate_banner_test.go",
  11. "associate_ele_api_test.go",
  12. "associate_mc_test.go",
  13. "associate_old_test.go",
  14. "associate_open_test.go",
  15. "associate_order_test.go",
  16. "bcoin_test.go",
  17. "business_test.go",
  18. "cache_test.go",
  19. "dao.cache_test.go",
  20. "dao_test.go",
  21. "dialog_test.go",
  22. "http_test.go",
  23. "jointly_test.go",
  24. "mail_api_test.go",
  25. "memcache_test.go",
  26. "mysql_test.go",
  27. "old_order_test.go",
  28. "oldvip_test.go",
  29. "order_test.go",
  30. "panel_test.go",
  31. "pay_test.go",
  32. "platform_test.go",
  33. "point_test.go",
  34. "privilege_test.go",
  35. "redis_test.go",
  36. "resource_test.go",
  37. "tips_test.go",
  38. "user_test.go",
  39. "welfare_test.go",
  40. ],
  41. embed = [":go_default_library"],
  42. rundir = ".",
  43. tags = ["automanaged"],
  44. deps = [
  45. "//app/service/main/vip/conf:go_default_library",
  46. "//app/service/main/vip/model:go_default_library",
  47. "//library/ecode:go_default_library",
  48. "//library/time:go_default_library",
  49. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  50. "//vendor/gopkg.in/h2non/gock.v1:go_default_library",
  51. ],
  52. )
  53. go_library(
  54. name = "go_default_library",
  55. srcs = [
  56. "associate_banner.go",
  57. "associate_ele_api.go",
  58. "associate_mc.go",
  59. "associate_old.go",
  60. "associate_open.go",
  61. "associate_order.go",
  62. "bcoin.go",
  63. "business.go",
  64. "cache.go",
  65. "dao.cache.go",
  66. "dao.go",
  67. "dialog.go",
  68. "http.go",
  69. "jointly.go",
  70. "mail_api.go",
  71. "memcache.go",
  72. "mysql.go",
  73. "old_order.go",
  74. "oldvip.go",
  75. "order.go",
  76. "panel.go",
  77. "pay.go",
  78. "platform.go",
  79. "point.go",
  80. "privilege.go",
  81. "redis.go",
  82. "resource.go",
  83. "tips.go",
  84. "user.go",
  85. "welfare.go",
  86. ],
  87. importpath = "go-common/app/service/main/vip/dao",
  88. tags = ["automanaged"],
  89. visibility = ["//visibility:public"],
  90. deps = [
  91. "//app/service/main/vip/conf:go_default_library",
  92. "//app/service/main/vip/dao/ele-api-client:go_default_library",
  93. "//app/service/main/vip/dao/mail-api-client:go_default_library",
  94. "//app/service/main/vip/model:go_default_library",
  95. "//library/cache/memcache:go_default_library",
  96. "//library/cache/redis:go_default_library",
  97. "//library/database/sql:go_default_library",
  98. "//library/ecode:go_default_library",
  99. "//library/log:go_default_library",
  100. "//library/net/http/blademaster:go_default_library",
  101. "//library/net/metadata:go_default_library",
  102. "//library/stat/prom:go_default_library",
  103. "//library/sync/pipeline/fanout:go_default_library",
  104. "//library/time:go_default_library",
  105. "//library/xstr:go_default_library",
  106. "//vendor/github.com/pkg/errors:go_default_library",
  107. ],
  108. )
  109. filegroup(
  110. name = "package-srcs",
  111. srcs = glob(["**"]),
  112. tags = ["automanaged"],
  113. visibility = ["//visibility:private"],
  114. )
  115. filegroup(
  116. name = "all-srcs",
  117. srcs = [
  118. ":package-srcs",
  119. "//app/service/main/vip/dao/ele-api-client:all-srcs",
  120. "//app/service/main/vip/dao/mail-api-client:all-srcs",
  121. ],
  122. tags = ["automanaged"],
  123. visibility = ["//visibility:public"],
  124. )