BUILD 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. "event_topic.go",
  9. "service.go",
  10. "stars.go",
  11. ],
  12. importpath = "go-common/app/admin/main/feed/service/popular",
  13. tags = ["automanaged"],
  14. visibility = ["//visibility:public"],
  15. deps = [
  16. "//app/admin/main/feed/conf:go_default_library",
  17. "//app/admin/main/feed/dao/show:go_default_library",
  18. "//app/admin/main/feed/model/common:go_default_library",
  19. "//app/admin/main/feed/model/show:go_default_library",
  20. "//app/admin/main/feed/util:go_default_library",
  21. "//library/log:go_default_library",
  22. "//vendor/github.com/jinzhu/gorm:go_default_library",
  23. ],
  24. )
  25. filegroup(
  26. name = "package-srcs",
  27. srcs = glob(["**"]),
  28. tags = ["automanaged"],
  29. visibility = ["//visibility:private"],
  30. )
  31. filegroup(
  32. name = "all-srcs",
  33. srcs = [":package-srcs"],
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:public"],
  36. )