BUILD 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. "conf.go",
  10. "credit_conf.go",
  11. ],
  12. importpath = "go-common/app/service/main/upcredit/conf",
  13. tags = ["automanaged"],
  14. visibility = ["//visibility:public"],
  15. deps = [
  16. "//library/cache/memcache:go_default_library",
  17. "//library/cache/redis:go_default_library",
  18. "//library/conf:go_default_library",
  19. "//library/database/orm:go_default_library",
  20. "//library/log:go_default_library",
  21. "//library/net/http/blademaster:go_default_library",
  22. "//library/net/http/blademaster/middleware/permit:go_default_library",
  23. "//library/net/rpc:go_default_library",
  24. "//library/net/trace:go_default_library",
  25. "//library/queue/databus:go_default_library",
  26. "//library/time:go_default_library",
  27. "//vendor/github.com/BurntSushi/toml:go_default_library",
  28. ],
  29. )
  30. filegroup(
  31. name = "package-srcs",
  32. srcs = glob(["**"]),
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:private"],
  35. )
  36. filegroup(
  37. name = "all-srcs",
  38. srcs = [":package-srcs"],
  39. tags = ["automanaged"],
  40. visibility = ["//visibility:public"],
  41. )