BUILD 740 B

123456789101112131415161718192021222324252627282930313233
  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. "conn.go",
  10. "request.go",
  11. "server.go",
  12. ],
  13. importpath = "go-common/app/service/main/broadcast/libs/websocket",
  14. tags = ["automanaged"],
  15. visibility = ["//visibility:public"],
  16. deps = ["//app/service/main/broadcast/libs/bufio:go_default_library"],
  17. )
  18. filegroup(
  19. name = "package-srcs",
  20. srcs = glob(["**"]),
  21. tags = ["automanaged"],
  22. visibility = ["//visibility:private"],
  23. )
  24. filegroup(
  25. name = "all-srcs",
  26. srcs = [":package-srcs"],
  27. tags = ["automanaged"],
  28. visibility = ["//visibility:public"],
  29. )