12345678910111213141516171819202122232425262728 |
- load("@io_bazel_rules_go//go:def.bzl", "go_library")
- go_library(
- name = "go_default_library",
- srcs = [
- "rate.go",
- "rate_go16.go",
- "rate_go17.go",
- ],
- importmap = "go-common/vendor/golang.org/x/time/rate",
- importpath = "golang.org/x/time/rate",
- visibility = ["//visibility:public"],
- deps = ["@org_golang_x_net//context:go_default_library"],
- )
- filegroup(
- name = "package-srcs",
- srcs = glob(["**"]),
- tags = ["automanaged"],
- visibility = ["//visibility:private"],
- )
- filegroup(
- name = "all-srcs",
- srcs = [":package-srcs"],
- tags = ["automanaged"],
- visibility = ["//visibility:public"],
- )
|