BUILD 675 B

1234567891011121314151617181920212223242526272829303132
  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 = ["rate.go"],
  9. importpath = "go-common/library/rate",
  10. tags = ["automanaged"],
  11. visibility = ["//visibility:public"],
  12. )
  13. filegroup(
  14. name = "package-srcs",
  15. srcs = glob(["**"]),
  16. tags = ["automanaged"],
  17. visibility = ["//visibility:private"],
  18. )
  19. filegroup(
  20. name = "all-srcs",
  21. srcs = [
  22. ":package-srcs",
  23. "//library/rate/limit:all-srcs",
  24. "//library/rate/vegas:all-srcs",
  25. ],
  26. tags = ["automanaged"],
  27. visibility = ["//visibility:public"],
  28. )