BUILD 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. "go_test",
  6. )
  7. go_library(
  8. name = "go_default_library",
  9. srcs = [
  10. "invite.go",
  11. "pendant.go",
  12. "pendant_new.go",
  13. "service.go",
  14. ],
  15. importpath = "go-common/app/interface/main/account/service/usersuit",
  16. tags = ["automanaged"],
  17. visibility = ["//visibility:public"],
  18. deps = [
  19. "//app/interface/main/account/conf:go_default_library",
  20. "//app/interface/main/account/dao/usersuit:go_default_library",
  21. "//app/interface/main/account/dao/vip:go_default_library",
  22. "//app/interface/main/account/model:go_default_library",
  23. "//app/service/main/account/model:go_default_library",
  24. "//app/service/main/account/rpc/client:go_default_library",
  25. "//app/service/main/coin/api/gorpc:go_default_library",
  26. "//app/service/main/coin/model:go_default_library",
  27. "//app/service/main/member/api/gorpc:go_default_library",
  28. "//app/service/main/member/model:go_default_library",
  29. "//app/service/main/usersuit/model:go_default_library",
  30. "//app/service/main/usersuit/rpc/client:go_default_library",
  31. "//library/ecode:go_default_library",
  32. "//library/log:go_default_library",
  33. "//library/net/metadata:go_default_library",
  34. "//library/sync/errgroup:go_default_library",
  35. ],
  36. )
  37. filegroup(
  38. name = "package-srcs",
  39. srcs = glob(["**"]),
  40. tags = ["automanaged"],
  41. visibility = ["//visibility:private"],
  42. )
  43. filegroup(
  44. name = "all-srcs",
  45. srcs = [":package-srcs"],
  46. tags = ["automanaged"],
  47. visibility = ["//visibility:public"],
  48. )
  49. go_test(
  50. name = "go_default_test",
  51. srcs = [
  52. "invite_test.go",
  53. "pendant_test.go",
  54. "service_test.go",
  55. ],
  56. embed = [":go_default_library"],
  57. rundir = ".",
  58. tags = ["automanaged"],
  59. deps = [
  60. "//app/interface/main/account/conf:go_default_library",
  61. "//app/service/main/usersuit/model:go_default_library",
  62. "//app/service/main/usersuit/rpc/client:go_default_library",
  63. "//library/ecode:go_default_library",
  64. "//vendor/github.com/bouk/monkey:go_default_library",
  65. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  66. ],
  67. )