load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "go_default_library",
    srcs = ["rules.go"],
    importmap = "go-common/vendor/github.com/go-playground/locales",
    importpath = "github.com/go-playground/locales",
    visibility = ["//visibility:public"],
    deps = ["//vendor/github.com/go-playground/locales/currency:go_default_library"],
)

filegroup(
    name = "package-srcs",
    srcs = glob(["**"]),
    tags = ["automanaged"],
    visibility = ["//visibility:private"],
)

filegroup(
    name = "all-srcs",
    srcs = [
        ":package-srcs",
        "//vendor/github.com/go-playground/locales/currency:all-srcs",
    ],
    tags = ["automanaged"],
    visibility = ["//visibility:public"],
)