BUILD 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. )
  6. go_library(
  7. name = "go_default_library",
  8. srcs = [
  9. "account.go",
  10. "archive.go",
  11. "article.go",
  12. "bnj.go",
  13. "broadcast.go",
  14. "coin.go",
  15. "dynamic.go",
  16. "elec.go",
  17. "feedback.go",
  18. "help.go",
  19. "http.go",
  20. "icon.go",
  21. "ip.go",
  22. "like.go",
  23. "nav.go",
  24. "newlist.go",
  25. "online.go",
  26. "ranking.go",
  27. "resource.go",
  28. "search.go",
  29. "tag.go",
  30. "wechat.go",
  31. ],
  32. importpath = "go-common/app/interface/main/web/http",
  33. tags = ["automanaged"],
  34. deps = [
  35. "//app/interface/main/web/conf:go_default_library",
  36. "//app/interface/main/web/model:go_default_library",
  37. "//app/interface/main/web/service:go_default_library",
  38. "//app/interface/openplatform/article/model:go_default_library",
  39. "//app/service/main/archive/api:go_default_library",
  40. "//library/ecode:go_default_library",
  41. "//library/log:go_default_library",
  42. "//library/log/infoc:go_default_library",
  43. "//library/net/http/blademaster:go_default_library",
  44. "//library/net/http/blademaster/middleware/auth:go_default_library",
  45. "//library/net/http/blademaster/middleware/cache:go_default_library",
  46. "//library/net/http/blademaster/middleware/cache/store:go_default_library",
  47. "//library/net/http/blademaster/middleware/verify:go_default_library",
  48. "//library/xstr:go_default_library",
  49. ],
  50. )
  51. filegroup(
  52. name = "package-srcs",
  53. srcs = glob(["**"]),
  54. tags = ["automanaged"],
  55. visibility = ["//visibility:private"],
  56. )
  57. filegroup(
  58. name = "all-srcs",
  59. srcs = [":package-srcs"],
  60. tags = ["automanaged"],
  61. visibility = ["//visibility:public"],
  62. )
  63. load(
  64. "@io_bazel_rules_go//go:def.bzl",
  65. "go_library",
  66. )