BUILD 888 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. "model.go",
  10. "roomAdmin.go",
  11. ],
  12. importpath = "go-common/app/service/live/xuser/model",
  13. tags = ["automanaged"],
  14. visibility = ["//visibility:public"],
  15. deps = [
  16. "//app/service/live/xuser/api/grpc:go_default_library",
  17. "//library/time:go_default_library",
  18. ],
  19. )
  20. filegroup(
  21. name = "package-srcs",
  22. srcs = glob(["**"]),
  23. tags = ["automanaged"],
  24. visibility = ["//visibility:private"],
  25. )
  26. filegroup(
  27. name = "all-srcs",
  28. srcs = [
  29. ":package-srcs",
  30. "//app/service/live/xuser/model/dhh:all-srcs",
  31. "//app/service/live/xuser/model/exp:all-srcs",
  32. ],
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:public"],
  35. )