BUILD 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. "apm.go",
  10. "app.go",
  11. "build.go",
  12. "common.go",
  13. "conf_svr.go",
  14. "config.go",
  15. "http.go",
  16. "tag.go",
  17. "tree.go",
  18. ],
  19. importpath = "go-common/app/admin/main/config/http",
  20. tags = ["automanaged"],
  21. visibility = ["//visibility:public"],
  22. deps = [
  23. "//app/admin/main/config/conf:go_default_library",
  24. "//app/admin/main/config/model:go_default_library",
  25. "//app/admin/main/config/service:go_default_library",
  26. "//library/ecode:go_default_library",
  27. "//library/log:go_default_library",
  28. "//library/net/http/blademaster:go_default_library",
  29. "//library/net/http/blademaster/middleware/permit:go_default_library",
  30. "//library/time:go_default_library",
  31. "//vendor/github.com/jinzhu/gorm:go_default_library",
  32. ],
  33. )
  34. filegroup(
  35. name = "package-srcs",
  36. srcs = glob(["**"]),
  37. tags = ["automanaged"],
  38. visibility = ["//visibility:private"],
  39. )
  40. filegroup(
  41. name = "all-srcs",
  42. srcs = [":package-srcs"],
  43. tags = ["automanaged"],
  44. visibility = ["//visibility:public"],
  45. )