BUILD 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. load(
  6. "@io_bazel_rules_go//go:def.bzl",
  7. "go_library",
  8. )
  9. package(default_visibility = ["//visibility:public"])
  10. load(
  11. "@io_bazel_rules_go//go:def.bzl",
  12. "go_library",
  13. )
  14. go_library(
  15. name = "go_default_library",
  16. srcs = [
  17. "http.go",
  18. "member.go",
  19. "monitor.go",
  20. "official.go",
  21. "realname.go",
  22. "review.go",
  23. ],
  24. importpath = "go-common/app/admin/main/member/http",
  25. tags = ["automanaged"],
  26. visibility = ["//visibility:public"],
  27. deps = [
  28. "//app/admin/main/member/conf:go_default_library",
  29. "//app/admin/main/member/http/block:go_default_library",
  30. "//app/admin/main/member/model:go_default_library",
  31. "//app/admin/main/member/service:go_default_library",
  32. "//library/ecode:go_default_library",
  33. "//library/log:go_default_library",
  34. "//library/net/http/blademaster:go_default_library",
  35. "//library/net/http/blademaster/middleware/permit:go_default_library",
  36. "//library/net/http/blademaster/middleware/verify:go_default_library",
  37. "//library/net/metadata:go_default_library",
  38. "//library/time:go_default_library",
  39. "//vendor/github.com/pkg/errors:go_default_library",
  40. ],
  41. )
  42. filegroup(
  43. name = "package-srcs",
  44. srcs = glob(["**"]),
  45. tags = ["automanaged"],
  46. visibility = ["//visibility:private"],
  47. )
  48. filegroup(
  49. name = "all-srcs",
  50. srcs = [
  51. ":package-srcs",
  52. "//app/admin/main/member/http/block:all-srcs",
  53. ],
  54. tags = ["automanaged"],
  55. visibility = ["//visibility:public"],
  56. )