BUILD 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. "base.go",
  10. "exp.go",
  11. "http.go",
  12. "moral.go",
  13. "realname.go",
  14. ],
  15. importpath = "go-common/app/service/main/member/server/http",
  16. tags = ["automanaged"],
  17. visibility = ["//visibility:public"],
  18. deps = [
  19. "//app/service/main/member/api:go_default_library",
  20. "//app/service/main/member/conf:go_default_library",
  21. "//app/service/main/member/model:go_default_library",
  22. "//app/service/main/member/server/http/block:go_default_library",
  23. "//app/service/main/member/service:go_default_library",
  24. "//library/ecode:go_default_library",
  25. "//library/log:go_default_library",
  26. "//library/net/http/blademaster:go_default_library",
  27. "//library/net/http/blademaster/middleware/verify:go_default_library",
  28. "//library/net/metadata:go_default_library",
  29. "//library/time:go_default_library",
  30. ],
  31. )
  32. filegroup(
  33. name = "package-srcs",
  34. srcs = glob(["**"]),
  35. tags = ["automanaged"],
  36. visibility = ["//visibility:private"],
  37. )
  38. filegroup(
  39. name = "all-srcs",
  40. srcs = [
  41. ":package-srcs",
  42. "//app/service/main/member/server/http/block:all-srcs",
  43. ],
  44. tags = ["automanaged"],
  45. visibility = ["//visibility:public"],
  46. )