BUILD 723 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 = [
  9. "bucket.go",
  10. "dir.go",
  11. "model.go",
  12. "upload.go",
  13. ],
  14. importpath = "go-common/app/interface/main/upload/model",
  15. tags = ["automanaged"],
  16. visibility = ["//visibility:public"],
  17. deps = ["//library/time:go_default_library"],
  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. )