BUILD 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. "account_test.go",
  11. "activity_test.go",
  12. "archive_stat_test.go",
  13. "av_breach_test.go",
  14. "banner_test.go",
  15. "bgm_test.go",
  16. "column_income_test.go",
  17. "dao_test.go",
  18. "exchange_test.go",
  19. "hbase_test.go",
  20. "income_test.go",
  21. "notice_test.go",
  22. "redis_test.go",
  23. "special_award_test.go",
  24. "tool_test.go",
  25. "up_bill_test.go",
  26. "up_test.go",
  27. "withdraw_test.go",
  28. ],
  29. embed = [":go_default_library"],
  30. rundir = ".",
  31. tags = ["automanaged"],
  32. deps = [
  33. "//app/interface/main/growup/conf:go_default_library",
  34. "//app/interface/main/growup/model:go_default_library",
  35. "//library/net/metadata:go_default_library",
  36. "//library/time:go_default_library",
  37. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  38. ],
  39. )
  40. go_library(
  41. name = "go_default_library",
  42. srcs = [
  43. "account.go",
  44. "activity.go",
  45. "archive_stat.go",
  46. "av_breach.go",
  47. "banner.go",
  48. "bgm.go",
  49. "column_income.go",
  50. "dao.go",
  51. "exchange.go",
  52. "hbase.go",
  53. "income.go",
  54. "notice.go",
  55. "redis.go",
  56. "special_award.go",
  57. "tool.go",
  58. "up.go",
  59. "up_bill.go",
  60. "up_year.go",
  61. "withdraw.go",
  62. ],
  63. importpath = "go-common/app/interface/main/growup/dao",
  64. tags = ["automanaged"],
  65. visibility = ["//visibility:public"],
  66. deps = [
  67. "//app/interface/main/growup/conf:go_default_library",
  68. "//app/interface/main/growup/model:go_default_library",
  69. "//app/interface/openplatform/article/model:go_default_library",
  70. "//app/interface/openplatform/article/rpc/client:go_default_library",
  71. "//app/service/main/account/model:go_default_library",
  72. "//app/service/main/account/rpc/client:go_default_library",
  73. "//app/service/main/vip/model:go_default_library",
  74. "//app/service/main/vip/rpc/client:go_default_library",
  75. "//library/cache/redis:go_default_library",
  76. "//library/database/hbase.v2:go_default_library",
  77. "//library/database/sql:go_default_library",
  78. "//library/ecode:go_default_library",
  79. "//library/log:go_default_library",
  80. "//library/net/http/blademaster:go_default_library",
  81. "//library/time:go_default_library",
  82. "//library/xstr:go_default_library",
  83. "//vendor/github.com/pkg/errors:go_default_library",
  84. "//vendor/github.com/tsuna/gohbase/hrpc:go_default_library",
  85. ],
  86. )
  87. filegroup(
  88. name = "package-srcs",
  89. srcs = glob(["**"]),
  90. tags = ["automanaged"],
  91. visibility = ["//visibility:private"],
  92. )
  93. filegroup(
  94. name = "all-srcs",
  95. srcs = [
  96. ":package-srcs",
  97. "//app/interface/main/growup/dao/newbiedao:all-srcs",
  98. ],
  99. tags = ["automanaged"],
  100. visibility = ["//visibility:public"],
  101. )