BUILD 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. "bfs.go",
  10. "dao.go",
  11. "image.go",
  12. "item.go",
  13. "item_mysql.go",
  14. "redis.go",
  15. "season_es.go",
  16. ],
  17. importpath = "go-common/app/job/openplatform/open-sug/dao",
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. deps = [
  21. "//app/admin/openplatform/sug/model:go_default_library",
  22. "//app/job/openplatform/open-sug/conf:go_default_library",
  23. "//app/job/openplatform/open-sug/model:go_default_library",
  24. "//library/cache/redis:go_default_library",
  25. "//library/database/sql:go_default_library",
  26. "//library/ecode:go_default_library",
  27. "//library/log:go_default_library",
  28. "//vendor/code.google.com/p/graphics-go/graphics:go_default_library",
  29. "//vendor/github.com/golang/freetype:go_default_library",
  30. "//vendor/golang.org/x/image/font:go_default_library",
  31. "//vendor/golang.org/x/image/math/fixed:go_default_library",
  32. "//vendor/gopkg.in/olivere/elastic.v5:go_default_library",
  33. ],
  34. )
  35. filegroup(
  36. name = "package-srcs",
  37. srcs = glob(["**"]),
  38. tags = ["automanaged"],
  39. visibility = ["//visibility:private"],
  40. )
  41. filegroup(
  42. name = "all-srcs",
  43. srcs = [":package-srcs"],
  44. tags = ["automanaged"],
  45. visibility = ["//visibility:public"],
  46. )