BUILD 835 B

12345678910111213141516171819202122232425262728293031323334
  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 = ["conf.go"],
  9. importpath = "go-common/app/infra/databus/conf",
  10. tags = ["automanaged"],
  11. deps = [
  12. "//library/conf:go_default_library",
  13. "//library/database/sql:go_default_library",
  14. "//library/log:go_default_library",
  15. "//library/net/http/blademaster:go_default_library",
  16. "//vendor/github.com/BurntSushi/toml:go_default_library",
  17. ],
  18. )
  19. filegroup(
  20. name = "package-srcs",
  21. srcs = glob(["**"]),
  22. tags = ["automanaged"],
  23. visibility = ["//visibility:private"],
  24. )
  25. filegroup(
  26. name = "all-srcs",
  27. srcs = [":package-srcs"],
  28. tags = ["automanaged"],
  29. visibility = ["//visibility:public"],
  30. )