BUILD 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. "business_test.go",
  11. "callback_test.go",
  12. "challenge_test.go",
  13. "dao_test.go",
  14. "event_test.go",
  15. "extra_test.go",
  16. "group_test.go",
  17. "memcache_test.go",
  18. "message_test.go",
  19. "redis_test.go",
  20. "search2_test.go",
  21. "tag_test.go",
  22. ],
  23. embed = [":go_default_library"],
  24. tags = ["automanaged"],
  25. deps = [
  26. "//app/admin/main/workflow/model:go_default_library",
  27. "//app/admin/main/workflow/model/param:go_default_library",
  28. "//app/admin/main/workflow/model/search:go_default_library",
  29. "//library/conf/paladin:go_default_library",
  30. "//library/ecode:go_default_library",
  31. "//vendor/github.com/jinzhu/gorm: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. "business.go",
  39. "callback.go",
  40. "challenge.go",
  41. "dao.go",
  42. "event.go",
  43. "extra.go",
  44. "group.go",
  45. "memcache.go",
  46. "message.go",
  47. "redis.go",
  48. "search2.go",
  49. "tag.go",
  50. ],
  51. importpath = "go-common/app/admin/main/workflow/dao",
  52. tags = ["automanaged"],
  53. visibility = ["//visibility:public"],
  54. deps = [
  55. "//app/admin/main/workflow/model:go_default_library",
  56. "//app/admin/main/workflow/model/manager:go_default_library",
  57. "//app/admin/main/workflow/model/param:go_default_library",
  58. "//app/admin/main/workflow/model/search:go_default_library",
  59. "//app/interface/main/credit/model:go_default_library",
  60. "//app/job/main/member/model/block:go_default_library",
  61. "//app/service/main/account/api:go_default_library",
  62. "//app/service/main/archive/api:go_default_library",
  63. "//app/service/main/member/model/block:go_default_library",
  64. "//library/cache/memcache:go_default_library",
  65. "//library/cache/redis:go_default_library",
  66. "//library/conf/paladin:go_default_library",
  67. "//library/database/elastic:go_default_library",
  68. "//library/database/orm:go_default_library",
  69. "//library/ecode:go_default_library",
  70. "//library/log:go_default_library",
  71. "//library/net/http/blademaster:go_default_library",
  72. "//library/net/rpc/warden:go_default_library",
  73. "//library/sync/errgroup:go_default_library",
  74. "//library/xstr:go_default_library",
  75. "//vendor/github.com/jinzhu/gorm:go_default_library",
  76. "//vendor/github.com/pkg/errors:go_default_library",
  77. ],
  78. )
  79. filegroup(
  80. name = "package-srcs",
  81. srcs = glob(["**"]),
  82. tags = ["automanaged"],
  83. visibility = ["//visibility:private"],
  84. )
  85. filegroup(
  86. name = "all-srcs",
  87. srcs = [":package-srcs"],
  88. tags = ["automanaged"],
  89. visibility = ["//visibility:public"],
  90. )