BUILD 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. "region_test.go",
  11. "show_test.go",
  12. ],
  13. embed = [":go_default_library"],
  14. rundir = ".",
  15. tags = ["automanaged"],
  16. deps = [
  17. "//app/interface/main/app-show/conf:go_default_library",
  18. "//app/interface/main/app-show/model:go_default_library",
  19. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  20. ],
  21. )
  22. go_library(
  23. name = "go_default_library",
  24. srcs = [
  25. "audit.go",
  26. "banner.go",
  27. "cache.go",
  28. "infoc.go",
  29. "region.go",
  30. "service.go",
  31. "show.go",
  32. ],
  33. importpath = "go-common/app/interface/main/app-show/service/region",
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:public"],
  36. deps = [
  37. "//app/interface/main/app-show/conf:go_default_library",
  38. "//app/interface/main/app-show/dao/activity:go_default_library",
  39. "//app/interface/main/app-show/dao/ad:go_default_library",
  40. "//app/interface/main/app-show/dao/archive:go_default_library",
  41. "//app/interface/main/app-show/dao/audit:go_default_library",
  42. "//app/interface/main/app-show/dao/bangumi:go_default_library",
  43. "//app/interface/main/app-show/dao/card:go_default_library",
  44. "//app/interface/main/app-show/dao/dynamic:go_default_library",
  45. "//app/interface/main/app-show/dao/location:go_default_library",
  46. "//app/interface/main/app-show/dao/recommend:go_default_library",
  47. "//app/interface/main/app-show/dao/region:go_default_library",
  48. "//app/interface/main/app-show/dao/resource:go_default_library",
  49. "//app/interface/main/app-show/dao/search:go_default_library",
  50. "//app/interface/main/app-show/dao/tag:go_default_library",
  51. "//app/interface/main/app-show/model:go_default_library",
  52. "//app/interface/main/app-show/model/bangumi:go_default_library",
  53. "//app/interface/main/app-show/model/banner:go_default_library",
  54. "//app/interface/main/app-show/model/card:go_default_library",
  55. "//app/interface/main/app-show/model/region:go_default_library",
  56. "//app/interface/main/app-show/model/tag:go_default_library",
  57. "//app/service/main/archive/api:go_default_library",
  58. "//app/service/main/archive/model/archive:go_default_library",
  59. "//app/service/main/location/model:go_default_library",
  60. "//app/service/main/resource/model:go_default_library",
  61. "//app/service/openplatform/pgc-season/api/grpc/season/v1:go_default_library",
  62. "//library/ecode:go_default_library",
  63. "//library/log:go_default_library",
  64. "//library/log/infoc:go_default_library",
  65. "//library/net/metadata:go_default_library",
  66. "//library/stat/prom:go_default_library",
  67. "//library/time:go_default_library",
  68. "//vendor/github.com/dgryski/go-farm:go_default_library",
  69. ],
  70. )
  71. filegroup(
  72. name = "package-srcs",
  73. srcs = glob(["**"]),
  74. tags = ["automanaged"],
  75. visibility = ["//visibility:private"],
  76. )
  77. filegroup(
  78. name = "all-srcs",
  79. srcs = [":package-srcs"],
  80. tags = ["automanaged"],
  81. visibility = ["//visibility:public"],
  82. )