BUILD 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. "activity.go",
  10. "bp.go",
  11. "coupon.go",
  12. "http.go",
  13. "notify.go",
  14. "order.go",
  15. "order2.go",
  16. "panel.go",
  17. "point.go",
  18. "resouce.go",
  19. "sync.go",
  20. "tips.go",
  21. "user.go",
  22. "vip.go",
  23. ],
  24. importpath = "go-common/app/service/main/vip/http",
  25. tags = ["automanaged"],
  26. visibility = ["//visibility:public"],
  27. deps = [
  28. "//app/service/main/vip/conf:go_default_library",
  29. "//app/service/main/vip/model:go_default_library",
  30. "//app/service/main/vip/service:go_default_library",
  31. "//library/ecode:go_default_library",
  32. "//library/log:go_default_library",
  33. "//library/net/http/blademaster:go_default_library",
  34. "//library/net/http/blademaster/middleware/verify:go_default_library",
  35. "//library/net/metadata:go_default_library",
  36. ],
  37. )
  38. filegroup(
  39. name = "package-srcs",
  40. srcs = glob(["**"]),
  41. tags = ["automanaged"],
  42. visibility = ["//visibility:private"],
  43. )
  44. filegroup(
  45. name = "all-srcs",
  46. srcs = [":package-srcs"],
  47. tags = ["automanaged"],
  48. visibility = ["//visibility:public"],
  49. )