BUILD 1014 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. "const.go",
  10. "param.go",
  11. "reponse.go",
  12. "saleflag.go",
  13. "tables.go",
  14. "ticket.go",
  15. "util.go",
  16. ],
  17. importpath = "go-common/app/service/openplatform/ticket-item/model",
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. deps = [
  21. "//app/service/openplatform/ticket-item/api/grpc/v1:go_default_library",
  22. "//app/service/openplatform/ticket-item/conf:go_default_library",
  23. "//library/log:go_default_library",
  24. "//library/time:go_default_library",
  25. ],
  26. )
  27. filegroup(
  28. name = "package-srcs",
  29. srcs = glob(["**"]),
  30. tags = ["automanaged"],
  31. visibility = ["//visibility:private"],
  32. )
  33. filegroup(
  34. name = "all-srcs",
  35. srcs = [":package-srcs"],
  36. tags = ["automanaged"],
  37. visibility = ["//visibility:public"],
  38. )