BUILD 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. "http.go",
  10. "thumbup.go",
  11. ],
  12. importpath = "go-common/app/service/main/thumbup/server/http",
  13. tags = ["automanaged"],
  14. deps = [
  15. "//app/service/main/thumbup/conf:go_default_library",
  16. "//app/service/main/thumbup/model:go_default_library",
  17. "//app/service/main/thumbup/service:go_default_library",
  18. "//library/ecode:go_default_library",
  19. "//library/log:go_default_library",
  20. "//library/net/http/blademaster:go_default_library",
  21. "//library/net/http/blademaster/binding:go_default_library",
  22. "//library/net/http/blademaster/middleware/rate:go_default_library",
  23. "//library/net/http/blademaster/middleware/verify:go_default_library",
  24. "//library/net/metadata:go_default_library",
  25. ],
  26. )
  27. filegroup(
  28. name = "package-srcs",
  29. srcs = glob(["**"]),
  30. tags = ["automanaged"],
  31. visibility = ["//visibility:private"],
  32. )
  33. filegroup(
  34. name = "all-srcs",
  35. srcs = [":package-srcs"],
  36. tags = ["automanaged"],
  37. visibility = ["//visibility:public"],
  38. )