BUILD 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. "authority.go",
  10. "cache.go",
  11. "parameter.go",
  12. "score.go",
  13. "service.go",
  14. "statistics.go",
  15. "transfer.go",
  16. ],
  17. importpath = "go-common/app/admin/main/up-rating/service",
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. deps = [
  21. "//app/admin/main/up-rating/conf:go_default_library",
  22. "//app/admin/main/up-rating/dao:go_default_library",
  23. "//app/admin/main/up-rating/dao/global:go_default_library",
  24. "//app/admin/main/up-rating/model:go_default_library",
  25. "//library/ecode:go_default_library",
  26. "//library/log:go_default_library",
  27. "//library/xstr:go_default_library",
  28. ],
  29. )
  30. filegroup(
  31. name = "package-srcs",
  32. srcs = glob(["**"]),
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:private"],
  35. )
  36. filegroup(
  37. name = "all-srcs",
  38. srcs = [":package-srcs"],
  39. tags = ["automanaged"],
  40. visibility = ["//visibility:public"],
  41. )