BUILD 953 B

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. "acc.go",
  10. "model.go",
  11. "param.go",
  12. "passport.go",
  13. "rpc.go",
  14. ],
  15. importpath = "go-common/app/service/main/account/model",
  16. tags = ["automanaged"],
  17. visibility = ["//visibility:public"],
  18. deps = [
  19. "//app/service/main/account/api:go_default_library",
  20. "//app/service/main/member/model:go_default_library",
  21. "//library/time:go_default_library",
  22. ],
  23. )
  24. filegroup(
  25. name = "package-srcs",
  26. srcs = glob(["**"]),
  27. tags = ["automanaged"],
  28. visibility = ["//visibility:private"],
  29. )
  30. filegroup(
  31. name = "all-srcs",
  32. srcs = [
  33. ":package-srcs",
  34. "//app/service/main/account/model/queue:all-srcs",
  35. ],
  36. tags = ["automanaged"],
  37. visibility = ["//visibility:public"],
  38. )