BUILD 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. load(
  6. "@io_bazel_rules_go//go:def.bzl",
  7. "go_library",
  8. )
  9. package(default_visibility = ["//visibility:public"])
  10. load(
  11. "@io_bazel_rules_go//go:def.bzl",
  12. "go_library",
  13. )
  14. go_library(
  15. name = "go_default_library",
  16. srcs = ["conf.go"],
  17. importpath = "go-common/app/admin/main/member/conf",
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. deps = [
  21. "//library/cache/memcache:go_default_library",
  22. "//library/cache/redis:go_default_library",
  23. "//library/conf:go_default_library",
  24. "//library/database/elastic:go_default_library",
  25. "//library/database/hbase.v2:go_default_library",
  26. "//library/database/orm:go_default_library",
  27. "//library/database/sql:go_default_library",
  28. "//library/ecode/tip:go_default_library",
  29. "//library/log:go_default_library",
  30. "//library/net/http/blademaster:go_default_library",
  31. "//library/net/http/blademaster/middleware/permit:go_default_library",
  32. "//library/net/rpc:go_default_library",
  33. "//library/net/rpc/warden:go_default_library",
  34. "//library/net/trace:go_default_library",
  35. "//library/queue/databus:go_default_library",
  36. "//library/time:go_default_library",
  37. "//vendor/github.com/BurntSushi/toml:go_default_library",
  38. ],
  39. )
  40. filegroup(
  41. name = "package-srcs",
  42. srcs = glob(["**"]),
  43. tags = ["automanaged"],
  44. visibility = ["//visibility:private"],
  45. )
  46. filegroup(
  47. name = "all-srcs",
  48. srcs = [":package-srcs"],
  49. tags = ["automanaged"],
  50. visibility = ["//visibility:public"],
  51. )