BUILD 793 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. load(
  2. "@io_bazel_rules_go//proto:def.bzl",
  3. "go_proto_library",
  4. )
  5. package(default_visibility = ["//visibility:public"])
  6. load(
  7. "@io_bazel_rules_go//go:def.bzl",
  8. "go_library",
  9. )
  10. go_library(
  11. name = "go_default_library",
  12. srcs = [
  13. "model.go",
  14. "params.go",
  15. "point.go",
  16. "rpc.go",
  17. ],
  18. importpath = "go-common/app/service/main/point/model",
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:public"],
  21. deps = ["//library/time:go_default_library"],
  22. )
  23. filegroup(
  24. name = "package-srcs",
  25. srcs = glob(["**"]),
  26. tags = ["automanaged"],
  27. visibility = ["//visibility:private"],
  28. )
  29. filegroup(
  30. name = "all-srcs",
  31. srcs = [":package-srcs"],
  32. tags = ["automanaged"],
  33. visibility = ["//visibility:public"],
  34. )