BUILD 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. package(default_visibility = ["//visibility:public"])
  6. filegroup(
  7. name = "package-srcs",
  8. srcs = glob(["**"]),
  9. tags = ["automanaged"],
  10. visibility = ["//visibility:private"],
  11. )
  12. filegroup(
  13. name = "all-srcs",
  14. srcs = [":package-srcs"],
  15. tags = ["automanaged"],
  16. visibility = ["//visibility:public"],
  17. )
  18. go_library(
  19. name = "go_default_library",
  20. srcs = [
  21. "archive.go",
  22. "archive_update.go",
  23. "copyright.go",
  24. "http.go",
  25. "log.go",
  26. "log_delete.go",
  27. "mng.go",
  28. "mng_v2.go",
  29. "query.go",
  30. "upsert.go",
  31. ],
  32. importpath = "go-common/app/admin/main/search/http",
  33. tags = ["automanaged"],
  34. deps = [
  35. "//app/admin/main/search/conf:go_default_library",
  36. "//app/admin/main/search/dao:go_default_library",
  37. "//app/admin/main/search/model:go_default_library",
  38. "//app/admin/main/search/service:go_default_library",
  39. "//library/ecode:go_default_library",
  40. "//library/log:go_default_library",
  41. "//library/net/http/blademaster:go_default_library",
  42. "//library/net/http/blademaster/middleware/permit:go_default_library",
  43. ],
  44. )