BUILD 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. "business.go",
  10. "dialog.go",
  11. "http.go",
  12. "jointly.go",
  13. "month.go",
  14. "order.go",
  15. "panel.go",
  16. "platform.go",
  17. "privilege.go",
  18. "push.go",
  19. "resouce.go",
  20. "tips.go",
  21. "version.go",
  22. "vip.go",
  23. "welfare.go",
  24. ],
  25. importpath = "go-common/app/admin/main/vip/http",
  26. tags = ["automanaged"],
  27. visibility = ["//visibility:public"],
  28. deps = [
  29. "//app/admin/main/vip/conf:go_default_library",
  30. "//app/admin/main/vip/model:go_default_library",
  31. "//app/admin/main/vip/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/binding:go_default_library",
  36. "//library/net/http/blademaster/middleware/permit:go_default_library",
  37. ],
  38. )
  39. filegroup(
  40. name = "package-srcs",
  41. srcs = glob(["**"]),
  42. tags = ["automanaged"],
  43. visibility = ["//visibility:private"],
  44. )
  45. filegroup(
  46. name = "all-srcs",
  47. srcs = [":package-srcs"],
  48. tags = ["automanaged"],
  49. visibility = ["//visibility:public"],
  50. )