BUILD 1.4 KB

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