BUILD 950 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. go_library(
  6. name = "go_default_library",
  7. srcs = [
  8. "bloomfilter.go",
  9. "dao.go",
  10. ],
  11. importpath = "go-common/app/service/bbq/recsys-recall/dao",
  12. tags = ["automanaged"],
  13. visibility = ["//visibility:public"],
  14. deps = [
  15. "//app/service/bbq/recsys-recall/conf:go_default_library",
  16. "//app/service/bbq/recsys-recall/dao/cache:go_default_library",
  17. "//library/cache/redis:go_default_library",
  18. "//vendor/github.com/Dai0522/go-hash/bloomfilter:go_default_library",
  19. ],
  20. )
  21. filegroup(
  22. name = "package-srcs",
  23. srcs = glob(["**"]),
  24. tags = ["automanaged"],
  25. visibility = ["//visibility:private"],
  26. )
  27. filegroup(
  28. name = "all-srcs",
  29. srcs = [
  30. ":package-srcs",
  31. "//app/service/bbq/recsys-recall/dao/cache:all-srcs",
  32. ],
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:public"],
  35. )