BUILD 770 B

1234567891011121314151617181920212223242526272829303132
  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 = ["validate.go"],
  9. importpath = "go-common/app/interface/main/mcn/tool/validate",
  10. tags = ["automanaged"],
  11. visibility = ["//visibility:public"],
  12. deps = [
  13. "//library/net/http/blademaster/binding:go_default_library",
  14. "//vendor/gopkg.in/go-playground/validator.v9:go_default_library",
  15. ],
  16. )
  17. filegroup(
  18. name = "package-srcs",
  19. srcs = glob(["**"]),
  20. tags = ["automanaged"],
  21. visibility = ["//visibility:private"],
  22. )
  23. filegroup(
  24. name = "all-srcs",
  25. srcs = [":package-srcs"],
  26. tags = ["automanaged"],
  27. visibility = ["//visibility:public"],
  28. )