BUILD 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. "area.go",
  10. "bulletin.go",
  11. "guest.go",
  12. "http.go",
  13. "item.go",
  14. "place.go",
  15. "seat.go",
  16. "venue.go",
  17. "version.go",
  18. ],
  19. importpath = "go-common/app/service/openplatform/ticket-item/server/http",
  20. tags = ["automanaged"],
  21. visibility = ["//visibility:public"],
  22. deps = [
  23. "//app/service/openplatform/ticket-item/api/grpc/v1:go_default_library",
  24. "//app/service/openplatform/ticket-item/conf:go_default_library",
  25. "//app/service/openplatform/ticket-item/model:go_default_library",
  26. "//app/service/openplatform/ticket-item/service:go_default_library",
  27. "//library/ecode:go_default_library",
  28. "//library/log:go_default_library",
  29. "//library/net/http/blademaster:go_default_library",
  30. "//library/net/http/blademaster/binding:go_default_library",
  31. "//vendor/github.com/pkg/errors:go_default_library",
  32. ],
  33. )
  34. filegroup(
  35. name = "package-srcs",
  36. srcs = glob(["**"]),
  37. tags = ["automanaged"],
  38. visibility = ["//visibility:private"],
  39. )
  40. filegroup(
  41. name = "all-srcs",
  42. srcs = [":package-srcs"],
  43. tags = ["automanaged"],
  44. visibility = ["//visibility:public"],
  45. )